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(a)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