vhost: set started flag while start is in progress
commit24f4fe345c1b80bab1ee18573914123d8028a9e6
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 25 Dec 2012 15:41:07 +0000 (25 17:41 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 7 Jan 2013 17:42:23 +0000 (7 19:42 +0200)
tree45f067ffa3e2e6473d159ca0756aa1de38714155
parent1830b80ff29dbd9d149f7f3cb565a690b5d5994c
vhost: set started flag while start is in progress

This makes it possible to use started flag for sanity checking
of callbacks that happen during start/stop.

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