When the device doesn't have an image, this returns:
{
"device": "ide1-cd0",
"info": {
"virtual-size": 0,
"filename": "",
"format": ""
}
},
But it would be better to return an empty dic
On Mon, 14 Jan 2013 15:09:42 +0800
Wenchao Xia wrote:
> This mirror function will return all image info including
> snapshots. Now Qemu have both query-images and query-block
> interfaces.
>
> Signed-off-by: Wenchao Xia
> ---
> block.c | 19 +
> qapi-schema.json | 27
This mirror function will return all image info including
snapshots. Now Qemu have both query-images and query-block
interfaces.
Signed-off-by: Wenchao Xia
---
block.c | 19 +
qapi-schema.json | 27 +++
qmp-commands.hx | 76 ++