diff options
author | Alexander Graf <agraf@suse.de> | 2010-03-16 19:18:07 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-03-31 11:16:52 -0500 |
commit | c81131db15dd1844d0db1d51f3cd7a105cfd2cf3 (patch) | |
tree | 30e82abdf348c7b3815c5e98503e2698cc3a0e80 /cache-utils.c | |
parent | f3571b1a5b465ae4fb1f168fc1480a3cff780d83 (diff) |
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 'cache-utils.c')
0 files changed, 0 insertions, 0 deletions