]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-net: drop assert on vm stop
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 11 Sep 2014 15:32:51 +0000 (18:32 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 23 Sep 2014 15:48:06 +0000 (10:48 -0500)
commit074e3471386ec97ffa145642ba614b2b87be2f10
tree665921ea73a9a936e28f01a240a9018c025f8006
parent9e8d9941119fc2db7905d851a127a78bf672f009
virtio-net: drop assert on vm stop

On vm stop, vm_running state set to stopped
before device is notified, so callbacks can get envoked with
vm_running = false; and this is not an error.

Cc: qemu-stable@nongnu.org
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 131c5221fe25a9547c4a388a3d26ff7fd14843e5)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/net/virtio-net.c