summary refs log tree commit diff stats
path: root/hw/acpi.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-03-16 19:18:07 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-03-31 11:16:52 -0500
commitc81131db15dd1844d0db1d51f3cd7a105cfd2cf3 (patch)
tree30e82abdf348c7b3815c5e98503e2698cc3a0e80 /hw/acpi.c
parentf3571b1a5b465ae4fb1f168fc1480a3cff780d83 (diff)
downloadfocaccia-qemu-c81131db15dd1844d0db1d51f3cd7a105cfd2cf3.tar.gz
focaccia-qemu-c81131db15dd1844d0db1d51f3cd7a105cfd2cf3.zip
Don't check for bus master for old guests
Older Linux guests don't activate the bus master enable bit. So for those we
can just try to be clever and track if they set the DEVICE_OK bit even though
bus mastering is still disabled.

Under that condition we can disable the windows safety check. With that logic
in place both guests should work just fine. Without PCI hotplug breaks
virtio-net in Linux < 2.6.34 guests.

Signed-off-by: Alexander Graf <agraf@suse.de>
CC: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/acpi.c')
0 files changed, 0 insertions, 0 deletions