virtio-net: migration support for multiqueue
commit5f800801838f74a8a430fb41a7393fa5df0a61f9
authorJason Wang <jasowang@redhat.com>
Wed, 30 Jan 2013 11:12:40 +0000 (30 19:12 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 Feb 2013 17:03:03 +0000 (1 11:03 -0600)
tree65477921992e5c42ec450c9bd848c13517c61f77
parentfed699f9ca6ae8a0fb62803334cf46fa64d1eb91
virtio-net: migration support for multiqueue

This patch add migration support for multiqueue virtio-net. Instead of bumping
the version, we conditionally send the info of multiqueue only when the device
support more than one queue to maintain the backward compatibility.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-net.c