Hi,
I use -blockdev option to specify a drive when qemu boot and i want to
resize it with hmp block_resize command. The hmp block_resize comand's
arguments: block_resize device new_size.
So I query the device by qmp query_block command, but the device filed of
the result output is NULL string.

result output:
{
  "return": [
    {
      "io-status": "ok",
      "device": "",
        ...
}

I noticed that the qmp block_resize command supports device or node-name as
argument.

If i can continue use the the hmp block_resize command with the device
argument?

Regards.

Reply via email to