virtio-net: set/clear vhost_started in reverse order
commit1830b80ff29dbd9d149f7f3cb565a690b5d5994c
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 25 Dec 2012 15:38:59 +0000 (25 17:38 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 7 Jan 2013 17:42:23 +0000 (7 19:42 +0200)
tree59ce9134e9f0a838c189ebb57f9596bb82bffb67
parentf1d0f15a6d46bd47e7658e44a004c8898c8cb91e
virtio-net: set/clear vhost_started in reverse order

As vhost started is cleared last thing on stop,
set it first things on start. This makes it
possible to use vhost_started while start is in
progress which is used by follow-up patches.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio-net.c