On 11/26/2013 04:09 AM, Jim Fehlig wrote:
When Chunyan originally submitted the patch adding PCI passthrough
support in the libxl driver, it was noted that a lot of the code is
not qemu-specific, based on the amount of copy-and-paste, and hence
the request for common code :-).
Yes. It's definitely the right way to do it.
Do you think a lot of the bugs in this code
are specific to the qemu driver? I don't have a feel for the number of
common vs hypervisor-specific bugs.
The bugs that I was thinking of were related to either vfio and/or to
binding/unbinding drivers to the devices, so they would be
hypervisor-agnostic.