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
