bhyve PCIe passthrough on AMD Epyc

Kevin Day toasty at dragondata.com
Thu Feb 28 04:38:24 UTC 2019



> On Feb 27, 2019, at 12:32 AM, Rodney W. Grimes <freebsd-rwg at pdx.rh.CN85.dnsmgr.net> wrote:
> 
>> I'm trying to get PCIe device (video card) passthrough working to a Windows bhyve VM, should this work now?
> 
> No, this should not work now.

Ok, easy enough. Should *any* PCIe passthrough work on Epyc right now? Just trying the same thing with a simple PCIe USB card gives me:

CPU0: local APIC error 0x40
CPU0: local APIC error 0x40
ivhd0: Error: completion failed tail:0xda0, head:0x0.
ivhd0: Dump all the commands:
  [CMD0, off:0xff0] opcode= 0x0 0x0 0x0 0x0
  [CMD1, off:0x0] opcode= 0x3 0x0 0x0 0x7ffffffffffff003
  [CMD2, off:0x10] opcode= 0x0 0x0 0x0 0x0
  [CMD3, off:0x20] opcode= 0x2 0x0 0x0 0x0
  [CMD4, off:0x30] opcode= 0x2 0x2 0x0 0x0
[...snip... lots of similar stuff]

Then I get a bunch more APIC errors, and the system freezes for about 60 seconds before recovering.

-- Kevin



More information about the freebsd-virtualization mailing list