]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_monitor: Fix tray-open attribute in query-block
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 25 Jan 2013 11:56:48 +0000 (12:56 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 25 Jan 2013 13:39:48 +0000 (14:39 +0100)
commit319ed26437b731bdf5d568c2c5605550a4487be3
tree1d38bbb42bbc448efd7d0a8bfa670ef0695a752a
parentc29eafc890a1c177ccace3b6253011bdbf17356e
qemu_monitor: Fix tray-open attribute in query-block

With our code, we fail to query for tray-open attribute currently.
That's because in HMP it is 'tray-open' and in QMP it's 'tray_open'.
It always has been. However, we got it exactly the opposite.
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_text.c