Message ID | da2483521e67210d6b4de96d369123eb1a041f30.1347561356.git.jbaron@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/q35_smbus.c b/hw/q35_smbus.c index 0ee404e..42dfcb1 100644 --- a/hw/q35_smbus.c +++ b/hw/q35_smbus.c @@ -97,6 +97,10 @@ static int ich9_smbus_initfn(PCIDevice *d) pci_set_word(d->wmask + PCI_STATUS, PCI_STATUS_SIG_SYSTEM_ERROR | PCI_STATUS_DETECTED_PARITY); + pci_set_word(d->w1cmask + PCI_STATUS, + pci_get_word(d->w1cmask + PCI_STATUS) & + ~(PCI_STATUS_SIG_SYSTEM_ERROR | PCI_STATUS_DETECTED_PARITY)); + /* TODO? D31IP.SMIP in chipset configuration space */ pci_config_set_interrupt_pin(d->config, 0x01); /* interrupt pin 1 */