Re: [Qemu-devel] [PATCH] block: clarify error message for qmp-eject

2016-05-17 Thread Eric Blake
On 05/17/2016 06:42 PM, John Snow wrote: > If you use HMP's eject but the CDROM tray is locked, you may get a > confusing error message informing you that the "tray isn't open." > > As this is the point of eject, we can do a little better and help > clarify that the tray was locked and that it (mi

Re: [Qemu-devel] [PATCH] block: clarify error message for qmp-eject

2016-05-17 Thread Fam Zheng
On Tue, 05/17 20:42, John Snow wrote: > If you use HMP's eject but the CDROM tray is locked, you may get a > confusing error message informing you that the "tray isn't open." > > As this is the point of eject, we can do a little better and help > clarify that the tray was locked and that it (might

[Qemu-devel] [PATCH] block: clarify error message for qmp-eject

2016-05-17 Thread John Snow
If you use HMP's eject but the CDROM tray is locked, you may get a confusing error message informing you that the "tray isn't open." As this is the point of eject, we can do a little better and help clarify that the tray was locked and that it (might) open up later, so try again. It's not ideal,