Fix oops on 2.6.25 guest (Rusty Russell)
commitc61ad61830b788be6b8094cf540f73befbc55ae5
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 5 Apr 2009 18:15:54 +0000 (5 18:15 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 5 Apr 2009 18:15:54 +0000 (5 18:15 +0000)
tree424c529843a319dafe98ac570456279b95c7545a
parent65297bc408f303463754efbd5e6613e4554adae8
Fix oops on 2.6.25 guest (Rusty Russell)

I believe this is behind the following:
https://bugs.edge.launchpad.net/ubuntu/jaunty/+source/linux/+bug/331128

virtio_pci in 2.6.25 didn't do feature negotiation correctly: it acked every
bit.  Fortunately, we can detect this.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/branches/stable_0_10@6985 c046a42c-6fe2-441c-8c8c-71466251a162
hw/virtio-net.c
hw/virtio.c
hw/virtio.h