diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-09-26 17:43:55 -0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-10-11 09:42:45 +0200 |
commit | d2078cc238ae30956f9ec74e656323e701937b4e (patch) | |
tree | 2db26d9b75cc0184760e635fd8f5579d381b4505 /block.c | |
parent | f04ef601007743499b11c12381a4ca7258199555 (diff) | |
download | qemu-d2078cc238ae30956f9ec74e656323e701937b4e.zip qemu-d2078cc238ae30956f9ec74e656323e701937b4e.tar.gz qemu-d2078cc238ae30956f9ec74e656323e701937b4e.tar.bz2 |
HMP: Print 'io-status' information
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.c')
-rw-r--r-- | block.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1868,6 +1868,11 @@ static void bdrv_print_dict(QObject *obj, void *opaque) monitor_printf(mon, " tray-open=%d", qdict_get_bool(bs_dict, "tray-open")); } + + if (qdict_haskey(bs_dict, "io-status")) { + monitor_printf(mon, " io-status=%s", qdict_get_str(bs_dict, "io-status")); + } + if (qdict_haskey(bs_dict, "inserted")) { QDict *qdict = qobject_to_qdict(qdict_get(bs_dict, "inserted")); |