]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Acquire domain job in qemuDomainGetFSInfo and qemuDomainGetGuestInfo
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 27 Aug 2019 06:53:53 +0000 (08:53 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 27 Aug 2019 12:14:34 +0000 (14:14 +0200)
commit93841cb0309991894aa93f97f153fec2d0005327
tree54c33a6af234b131901a9fb49dd14151dfa538bc
parente7eae7886cf322494488e62dd3d6b193dca08589
qemu: Acquire domain job in qemuDomainGetFSInfo and qemuDomainGetGuestInfo

These two functions work with vm->def in their critical sections
(i.e. after the job was acquired and before it is released). But
that means, they need QUERY domain job too to prevent vm->def
change.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c