]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: qemuProcessDetectIOThreadPIDs invert checks
authorJohn Ferlan <jferlan@redhat.com>
Mon, 27 Apr 2015 18:24:34 +0000 (14:24 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 28 Apr 2015 10:33:35 +0000 (06:33 -0400)
commit69b16513a5c5f2e9a0d269b659fa55ff6d6e8267
tree21686b4e744ba092c77da885b852fa3aa636a7df
parent4c2ca5664ac56c2b582a0f44851df73f0af39c92
qemu: qemuProcessDetectIOThreadPIDs invert checks

If we received zero iothreads from the monitor, but were perhaps
expecting to receive something, then the code was skipping the check
to ensure what's in the monitor matches our expectations.  So invert
the checks to check that what we get back matches expectations and
then check there are zero iothreads returned.
src/qemu/qemu_process.c