Re: [Qemu-devel] [PATCH v2 1/2] vl: allow other threads to do qemu_system_vmstop_request

2014-06-19 Thread Eric Blake
On 06/05/2014 06:53 AM, Paolo Bonzini wrote: > There patch protects vmstop_requested with a lock and introduces s/There/This/ ? > qemu_system_vmstop_request_prepare. > > Together with the new call to qemu_vmstop_requested in vm_start, > qemu_system_vmstop_request_prepare avoids a race where the

[Qemu-devel] [PATCH v2 1/2] vl: allow other threads to do qemu_system_vmstop_request

2014-06-05 Thread Paolo Bonzini
There patch protects vmstop_requested with a lock and introduces qemu_system_vmstop_request_prepare. Together with the new call to qemu_vmstop_requested in vm_start, qemu_system_vmstop_request_prepare avoids a race where the VM could remain stopped even though the iostatus of a block device has al