[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to use blockdev-add in hmp console
From: |
Alberto Garcia |
Subject: |
Re: how to use blockdev-add in hmp console |
Date: |
Tue, 22 Feb 2022 22:36:15 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Tue, Feb 22, 2022 at 07:13:24PM +0800, Jiatong Shen wrote:
> I am reading
> https://qemu.readthedocs.io/en/latest/interop/live-block-operations.html
> and try to learn blockdev-add command. I boot a virtual machine with
> -nographic option and entered hmp interactive console. but when I execute
> blockdev-add there, it fails with no such command. but on the given website
> looks like it could successfully translate to a qmp command.
What you see in that link is actually not HMP but QMP, using the
qmp-shell script, see scripts/qmp/qmp-shell
Berto