Jason Wang d3674c5754 virtio: correctly initialize vm_running
Current vm_running was not explicitly initialized and its value was changed by
vm state notifier, this may confuse the virtio device being hotplugged such as
virtio-net with vhost backend as it may think the vm was not running. Solve this
by initialize this value explicitly in virtio_common_init().

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2011-06-12 10:33:38 +03:00
..
2011-04-12 21:51:51 +02:00
2011-04-10 14:00:14 +02:00
2011-04-22 14:41:40 -05:00
2011-04-22 14:41:40 -05:00
2011-03-22 07:42:08 +01:00
2011-04-22 14:41:40 -05:00
2011-04-22 14:41:41 -05:00
2011-04-01 19:07:48 -05:00
2011-04-22 14:41:41 -05:00
2011-04-07 13:51:48 +02:00
2011-04-22 14:41:43 -05:00
2011-04-22 14:41:41 -05:00
2011-04-22 14:41:40 -05:00
2011-04-07 13:51:48 +02:00
2011-04-22 14:41:40 -05:00
2011-04-22 14:41:43 -05:00
2011-04-22 14:41:43 -05:00
2011-04-22 14:41:43 -05:00
2011-04-07 13:51:48 +02:00
2011-04-22 14:41:40 -05:00
2011-05-05 16:10:08 +03:00
2011-04-22 14:41:43 -05:00
2011-03-22 07:44:15 +01:00
2011-03-28 18:34:22 +02:00
2011-04-22 14:41:41 -05:00
2011-04-22 14:41:41 -05:00
2011-04-22 14:41:42 -05:00
2011-04-07 13:51:48 +02:00
2011-04-11 17:21:42 +00:00
2011-04-01 18:34:55 +02:00
2011-04-22 14:41:41 -05:00
2011-04-22 14:41:40 -05:00
2011-04-22 14:41:40 -05:00
2011-04-22 14:41:43 -05:00
2011-04-22 14:41:41 -05:00
2011-04-22 14:41:42 -05:00
2011-04-22 14:41:40 -05:00
2011-04-22 14:41:42 -05:00
2011-04-22 14:41:40 -05:00
2011-04-07 14:25:53 +01:00
2011-04-16 12:24:28 +01:00
2011-03-22 07:44:15 +01:00
2011-04-08 11:32:21 +02:00
2011-04-08 11:32:21 +02:00