[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] hvmloader crashed when passthrough bridge device but not intel piix4 acpi pm
When passthrough a PLX PCI9056 PCI to IOBus bridge, hvmloader will crashed for it disallow init bridge class pci device except intel PIIX4 ACPI PM. Signed-off-by: Beyond Lee <lcy985a@xxxxxxx> diff --git a/tools/firmware/hvmloader/pci.c b/tools/firmware/hvmloader/pci.c index 0b708bf..33aadc7 100644 --- a/tools/firmware/hvmloader/pci.c +++ b/tools/firmware/hvmloader/pci.c @@ -189,6 +189,8 @@ void pci_setup(void) break; case 0x0680: /* PIIX4 ACPI PM. Special device with special PCI config space. */ + if ( (vendor_id == 0x10b5) && (device_id == 0x9056) ) + break; ASSERT((vendor_id == 0x8086) && (device_id == 0x7113)); pci_writew(devfn, 0x20, 0x0000); /* No smb bus IO enable */ pci_writew(devfn, 0xd2, 0x0000); /* No smb bus IO enable */
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |