Revision 8a911107
b/hw/virtio-pci.c | ||
---|---|---|
155 | 155 |
|
156 | 156 |
/* Try to find out if the guest has bus master disabled, but is |
157 | 157 |
in ready state. Then we have a buggy guest OS. */ |
158 |
if (!(proxy->vdev->status & VIRTIO_CONFIG_S_DRIVER_OK) &&
|
|
158 |
if ((proxy->vdev->status & VIRTIO_CONFIG_S_DRIVER_OK) && |
|
159 | 159 |
!(proxy->pci_dev.config[PCI_COMMAND] & PCI_COMMAND_MASTER)) { |
160 | 160 |
proxy->bugs |= VIRTIO_PCI_BUG_BUS_MASTER; |
161 | 161 |
} |
Also available in: Unified diff