[libvirt] [PATCH 6/9] qemu: Process monitor EOF in a job

Peter Krempa pkrempa at redhat.com
Fri Feb 19 13:18:38 UTC 2016


On Tue, Feb 16, 2016 at 15:36:58 +0100, Jiri Denemark wrote:
> Stopping a domain without a job risks a race condition with another
> thread which started a job a which does not expect anyone else to be
> messing around with the same domain object.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_domain.h  |  1 +
>  src/qemu/qemu_driver.c  | 51 ++++++++++++++++++++++++++++++++++++++++++++++++-
>  src/qemu/qemu_monitor.c | 14 ++++++++++----
>  src/qemu/qemu_monitor.h |  2 ++
>  src/qemu/qemu_process.c | 45 +++++++++++++++----------------------------
>  5 files changed, 78 insertions(+), 35 deletions(-)
> 

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160219/24a2932b/attachment-0001.sig>


More information about the libvir-list mailing list