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

2013-12-04 Thread Paolo Bonzini
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. This state is weird but sh

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

2013-12-04 Thread Markus Armbruster
Alexey Kardashevskiy writes: > On 12/04/2013 08:35 PM, Markus Armbruster wrote: >> Paolo Bonzini 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

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

2013-12-04 Thread Alexey Kardashevskiy
On 12/04/2013 08:35 PM, Markus Armbruster wrote: > Paolo Bonzini 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 >>

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

2013-12-04 Thread Markus Armbruster
Paolo Bonzini 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 lock

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

2013-12-04 Thread Paolo Bonzini
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 again

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

2013-12-03 Thread Alexey Kardashevskiy
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. Signed-off-by: Alexey Kardashevskiy --- hw/scsi/scsi-disk.c | 1 - 1 file changed, 1 del