]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Warn on possibly incorrect usage of EnterMonitor*
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 7 Nov 2019 13:05:43 +0000 (14:05 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 8 Nov 2019 15:25:46 +0000 (16:25 +0100)
commit1faf74050f0d16f6c41686b76fea48754cdd88e8
treeccb907024ef8ea86bfad02c6fcd3488da7e94f3d
parentebd004299a95285231c39b1d4bf20bb942b84c2f
qemu: Warn on possibly incorrect usage of EnterMonitor*

The qemuDomainObjEnterMonitor() should not be called without a
job set. Catch this error and produce a warning message if such
call occurred.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
src/qemu/qemu_domain.c