libxl: Replace QMP command "change" by "blockdev-change-media"
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 11 May 2021 09:28:10 +0000 (10:28 +0100)
committerJulien Grall <jgrall@amazon.com>
Tue, 15 Jun 2021 12:56:26 +0000 (13:56 +0100)
commitfe6630ddc4e8a8fbf8dd28a1bc58e3881393f9c1
tree493695f9e7a16a9d172e7d1525da9a35c6f788c1
parent0c0b3a7e4a2d65fd252b89b46bdcdb048bb24b6c
libxl: Replace QMP command "change" by "blockdev-change-media"

"change" command as been removed in QEMU 6.0. We can use
"blockdev-change-medium" instead.

Using `id` with "blockdev-change-medium" requires a change to the QEMU
command line, introduced by:
    "libxl: Use -device for cd-rom drives"

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jason Andryuk <jandryuk@gmail.com>
tools/libs/light/libxl_disk.c