Re: [Qemu-devel] [PATCH] virtio: correctly initialize vm_running

2011-06-01 Thread Michael S. Tsirkin
On Wed, May 18, 2011 at 01:57:37PM +0800, Jason Wang wrote: 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

Re: [Qemu-devel] [PATCH] virtio: correctly initialize vm_running

2011-05-23 Thread Michael S. Tsirkin
On Mon, May 23, 2011 at 01:57:57PM +0800, Jason Wang wrote: On 05/18/2011 04:54 PM, Michael S. Tsirkin wrote: On Wed, May 18, 2011 at 01:57:37PM +0800, Jason Wang wrote: Current vm_running was not explicitly initialized and its value was changed by vm state notifier, this may confuse the

Re: [Qemu-devel] [PATCH] virtio: correctly initialize vm_running

2011-05-22 Thread Jason Wang
On 05/18/2011 04:54 PM, Michael S. Tsirkin wrote: On Wed, May 18, 2011 at 01:57:37PM +0800, Jason Wang wrote: 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

Re: [Qemu-devel] [PATCH] virtio: correctly initialize vm_running

2011-05-18 Thread Michael S. Tsirkin
On Wed, May 18, 2011 at 01:57:37PM +0800, Jason Wang wrote: 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

[Qemu-devel] [PATCH] virtio: correctly initialize vm_running

2011-05-17 Thread Jason Wang
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