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

2021-03-18 Thread zhao xiaojun
v_add() doesn't call the monitor_add_blk(). Questions: Why can not qmp_blockdev_add() call the monitor_add_blk()? Will the hmp and qmp commands that only support device as an argument be compat with the -blockdev option? Kevin Wolf 于2021年3月18日周四 下午6:50写道: > Am 17.03.2021 um 23:49 hat John

Can not use hmp block_resize command with -blockdev option

2021-03-16 Thread zhao xiaojun
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. res