Re: [PATCH v2 3/3] libxl: Enable stubdom cdrom changing

2024-02-13 Thread Anthony PERARD
On Thu, Feb 01, 2024 at 04:40:04PM -0500, Jason Andryuk wrote: > To change the cd-rom medium, libxl will: > - QMP eject the medium from QEMU > - block-detach the old PV disk > - block-attach the new PV disk > - QMP change the medium to the new PV disk by fdset-id > > The QMP code is reused,

[PATCH v2 3/3] libxl: Enable stubdom cdrom changing

2024-02-01 Thread Jason Andryuk
To change the cd-rom medium, libxl will: - QMP eject the medium from QEMU - block-detach the old PV disk - block-attach the new PV disk - QMP change the medium to the new PV disk by fdset-id The QMP code is reused, and remove and attach are implemented here. The stubdom must internally