[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 1/5] block/qapi: Add cache information to que
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v2 1/5] block/qapi: Add cache information to query-block |
Date: |
Wed, 12 Nov 2014 13:37:15 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 11/12/2014 09:11 AM, Kevin Wolf wrote:
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
> block/qapi.c | 7 +++++++
> hmp.c | 8 ++++++++
> qapi/block-core.json | 20 +++++++++++++++++++-
> tests/qemu-iotests/051.out | 1 +
> tests/qemu-iotests/067.out | 10 +++++-----
> 5 files changed, 40 insertions(+), 6 deletions(-)
Reviewed-by: Eric Blake <address@hidden>
> +++ b/tests/qemu-iotests/067.out
> @@ -6,7 +6,7 @@ Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
> Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,if=none,id=disk -device
> virtio-blk-pci,drive=disk,id=virtio0
> QMP_VERSION
> {"return": {}}
> -{"return": [{"io-status": "ok", "device": "disk", "locked": false,
> "removable": false, "inserted": {"iops_rd": 0, "detect_zeroes": "off",
> "image": {"virtual-size": 134217728, "filename": "TEST_DIR/t.qcow2",
> "cluster-size": 65536, "format": "qcow2", "actual-size": SIZE,
> "format-specific": {"type": "qcow2", "data": {"compat": "1.1",
> "lazy-refcounts": false, "corrupt": false}}, "dirty-flag": false}, "iops_wr":
> 0, "ro": false, "backing_file_depth": 0, "drv": "qcow2", "iops": 0, "bps_wr":
> 0, "encrypted": false, "bps": 0, "bps_rd": 0, "file": "TEST_DIR/t.qcow2",
> "encryption_key_missing": false}, "type": "unknown"}, {"io-status": "ok",
> "device": "ide1-cd0", "locked": false, "removable": true, "tray_open": false,
> "type": "unknown"}, {"device": "floppy0", "locked": false, "removable": true,
> "tray_open": false, "type": "unknown"}, {"device": "sd0", "locked": false,
> "removable": true, "tray_open": false, "type": "unknown"}]}
> +{"return": [{"io-status": "ok", "device": "disk", "locked": false,
> "removable": false, "inserted": {"iops_rd": 0, "detect_zeroes": "off",
> "image": {"virtual-size": 134217728, "filename": "TEST_DIR/t.qcow2",
> "cluster-size": 65536, "format": "qcow2", "actual-size": SIZE,
> "format-specific": {"type": "qcow2", "data": {"compat": "1.1",
> "lazy-refcounts": false, "corrupt": false}}, "dirty-flag": false}, "iops_wr":
> 0, "ro": false, "backing_file_depth": 0, "drv": "qcow2", "iops": 0, "bps_wr":
> 0, "encrypted": false, "bps": 0, "bps_rd": 0, "cache": {"no-flush": false,
> "direct": false, "writeback": true}, "file": "TEST_DIR/t.qcow2",
> "encryption_key_missing": false}, "type": "unknown"}, {"io-status": "ok",
> "device": "ide1-cd0", "locked": false, "removable": true, "tray_open": false,
> "type": "unknown"}, {"device": "floppy0", "locked": false, "removable": true,
> "tray_open": false, "type": "unknown"}, {"device": "sd0", "locked": false,
> "removable": true, "tray_open": false, "type": "unknow!
Will conflict with the patch to add -qmp-pretty to avoid the long lines;
but the resolution is straightforward for whoever loses the race.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v2 0/5] block: QMP cache info and HMP node support, Kevin Wolf, 2014/11/12
- [Qemu-devel] [PATCH v2 1/5] block/qapi: Add cache information to query-block, Kevin Wolf, 2014/11/12
- Re: [Qemu-devel] [PATCH v2 1/5] block/qapi: Add cache information to query-block,
Eric Blake <=
- [Qemu-devel] [PATCH v2 2/5] block/hmp: Factor out print_block_info(), Kevin Wolf, 2014/11/12
- [Qemu-devel] [PATCH v2 3/5] block/hmp: Allow info = NULL in print_block_info(), Kevin Wolf, 2014/11/12
- [Qemu-devel] [PATCH v2 4/5] block/hmp: Allow node-name in 'info block', Kevin Wolf, 2014/11/12
- [Qemu-devel] [PATCH v2 5/5] monitor: Fix HMP tab completion, Kevin Wolf, 2014/11/12
- Re: [Qemu-devel] [PATCH v2 0/5] block: QMP cache info and HMP node support, Kevin Wolf, 2014/11/21