]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix name comparison in qemuMonitorJSONBlockIoThrottleInfo()
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 1 Nov 2012 17:20:56 +0000 (18:20 +0100)
committerCole Robinson <crobinso@redhat.com>
Sun, 9 Dec 2012 22:48:11 +0000 (17:48 -0500)
commit6ca5649625852abc3061353f8f833220f4a715bd
tree208d9b0ea301954ad232a866a746d43e095129c5
parent39a427e8ba52d502d510f5c088018863c0bc4c90
qemu: Fix name comparison in qemuMonitorJSONBlockIoThrottleInfo()

The string comparison logic was inverted and matched the first drive
that does *not* have the name we search for.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit 23d47b33a2f8b524c32d556d6d55a7ccb0c5903a)
src/qemu/qemu_monitor_json.c