Re: [PATCH 0/4] Prepare bhyve's OVMF for GPU-Passthrough

2021-06-23 Thread Peter Grehan
Hi Corvin, As far as I know, QEMU uses OVMF with bus enumeration enabled. How does QEMU solve such issues? Full-time corp Linux staff working on Qemu, KVM and EFI. - there is no need for EFI to perform a slow scan via PCI bus operations, resulting in VM-exits, where bhyve can perform all th

RE: [PATCH 0/4] Prepare bhyve's OVMF for GPU-Passthrough

2021-06-18 Thread Corvin Köhne
Hi Peter, thank you for your feedback, > While it's now possible to allow EFI to scan/assign PCI BARs, I'd like to > avoid it if possible for 2 reasons: > - assignment policy can stay in bhyve, such as whether to locate 64-bit > BARs in the 32-bit region which EFI didn't (doesn't?) allow. Bug

Re: [PATCH 0/4] Prepare bhyve's OVMF for GPU-Passthrough

2021-06-16 Thread Peter Grehan
Hi Corvin, Thanks for posting these here. GPU-Passthrough for bhyve requires a few patches to work properly. These patches will allow GPU-Passthrough for bhyve. It will work for dedicated AMD GPUs and integrated Intel GPUs. Nvidia GPUs are untested. I have no issue with patches 3/4 and 4/4.

[PATCH 0/4] Prepare bhyve's OVMF for GPU-Passthrough

2021-06-15 Thread Corvin Köhne
Hi, GPU-Passthrough for bhyve requires a few patches to work properly. These patches will allow GPU-Passthrough for bhyve. It will work for dedicated AMD GPUs and integrated Intel GPUs. Nvidia GPUs are untested. Best Regards, Corvin Corvin Köhne (4): OvmfPkg/Bhyve: enable bus enumeration