Fix oops on 2.6.25 guest (Rusty Russell)
commit8eca6b1bc770982595db2f7207c65051572436cb
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 5 Apr 2009 17:40:08 +0000 (5 17:40 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 5 Apr 2009 17:40:08 +0000 (5 17:40 +0000)
tree68ca13c0ea9c46ed473bf67aa9cb4e8d525d317c
parent1da92db280961b3949712609b8771f582dab1f4a
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/trunk@6975 c046a42c-6fe2-441c-8c8c-71466251a162
hw/virtio-net.c
hw/virtio.c
hw/virtio.h