qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Can not use hmp block_resize command with -blockdev option
@ 2021-03-17  3:43 zhao xiaojun
  2021-03-17 22:49 ` John Snow
  0 siblings, 1 reply; 6+ messages in thread
From: zhao xiaojun @ 2021-03-17  3:43 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 571 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 927 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-18 17:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-17  3:43 Can not use hmp block_resize command with -blockdev option zhao xiaojun
2021-03-17 22:49 ` John Snow
2021-03-18 10:50   ` Kevin Wolf
2021-03-18 15:15     ` zhao xiaojun
2021-03-18 16:17       ` Kevin Wolf
2021-03-18 16:55         ` LKML

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).