[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 0/3] libxl: Stubdom cd-rom changing support
On Thu, Feb 01, 2024 at 04:40:01PM -0500, Jason Andryuk wrote: > Linux locks the cd-rom by default? That means the QMP eject commands > fail, but then Linux unlocks. Re-running a second time works. Windows > doesn't do that. Yes, looks like it. It would be possible to have libxl retry automatically since Linux eject and unlock the cd-rom tray, then QEMU does send an event via QMP about this, so libxl could retry after receiving the event. Waiting for events is just not implemented in libxl, but that something that could be done. The event is, for example: 'event': 'DEVICE_TRAY_MOVED', 'data': {'device': 'ide-5632', 'tray-open': True, 'id': 'ide-5632'} Cheers, -- Anthony PERARD
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |