virtio-net migration fix (Mark McLoughlin)
commite46cb38f13dda9b2b7754de521836c0c97bb09cd
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 7 Jan 2009 17:50:45 +0000 (7 17:50 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 7 Jan 2009 17:50:45 +0000 (7 17:50 +0000)
tree9ea8e9740b57dc2b81931049275b8b6c4a22786d
parent7a9f6e4a8db958caf10332f160ed04f175932d55
virtio-net migration fix (Mark McLoughlin)

We are failing to save whether the guest will supply us rx
buffers using the new mergeable format; this can cause a
migrated guest to crash with:

   virtio-net header not in first element

Bump the savevm version number and refuse to load v1 saves
just to be on the safe side.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6221 c046a42c-6fe2-441c-8c8c-71466251a162
hw/virtio-net.c