qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/3] scsi-disk: check for meduim on ALLOW_MEDIUM


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 2/3] scsi-disk: check for meduim on ALLOW_MEDIUM_REMOVAL
Date: Wed, 04 Dec 2013 13:51:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Alexey Kardashevskiy <address@hidden> writes:

> On 12/04/2013 08:35 PM, Markus Armbruster wrote:
>> Paolo Bonzini <address@hidden> writes:
>> 
>>> Il 04/12/2013 05:55, Alexey Kardashevskiy ha scritto:
>>>> This prevents the guest from preventing DVD medium removal when
>>>> there is no medium.
>>>>
>>>> Without this, if the user has ejected a DVD, it is possible to
>>>> have a block device with an open tray, no media but locked.
>>>
>>> I need to check this against a real disk.  Thanks!
>> 
>> If I remember correctly, I did, and it works.  You can still close the
>> open tray in this state.
>
>
> I thought it is about NOT letting close the open tray. So the hardware can
> be programmed to ignore the hardware "eject" button when the tray is open?

>From memory: you can lock the medium whether the tray is open or not.
The lock applies to the button operating the tray.  It prevents medium
eject.  It never prevents closing an empty tray.  I don't remember
whether opening an empty tray is still permitted.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]