]> xenbits.xensource.com Git - 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)
committerEric Blake <eblake@redhat.com>
Thu, 1 Nov 2012 19:23:27 +0000 (13:23 -0600)
commit23d47b33a2f8b524c32d556d6d55a7ccb0c5903a
tree19cb7d78af1575a7cf75ba9efa799c61bb8d55dc
parent04ee70bfda21bfdb48b55f074aed25fc75bb9226
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>
src/qemu/qemu_monitor_json.c