qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can not use hmp block_resize command with -blockdev option


From: John Snow
Subject: Re: Can not use hmp block_resize command with -blockdev option
Date: Wed, 17 Mar 2021 18:49:04 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0

On 3/16/21 11:43 PM, zhao xiaojun wrote:
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.

I'm not sure what you're asking: hmp's block_resize doesn't accept node-name arguments as you've found. Are you not able to use QMP's block_resize?

--js




reply via email to

[Prev in Thread] Current Thread [Next in Thread]