Il 25/06/2014 04:17, Tiejun Chen ha scritto:
+int pci_create_pch(PCIBus *bus) +{ + XenHostPCIDevice hdev; + int r = 0; + + if (!xen_has_gfx_passthru) { + return r; + } +
You could make this an assertion, since the function is never called with xen_has_gfx_passthru == 0. Or just drop the check completely, so the function can be moved in patch 2.
Paolo