qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/3] scsi-disk: close drive on START_STOP


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 1/3] scsi-disk: close drive on START_STOP
Date: Wed, 04 Dec 2013 09:58:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9

Il 04/12/2013 05:55, Alexey Kardashevskiy ha scritto:
> Normally the user is expected to eject DVD if it is not locked by
> the guest. eject_device() makes few checks and calls bdrv_close()
> if DVD is not in use.
> 
> However it is still possible to eject DVD even if it is in use.
> For that, QEMU sets "eject requested" flag, the guest reads it, issues
> ALLOW_MEDIUM_REMOVAL(enable=1) and START_STOP(start=0). But in this case,
> bdrv_close() is not called anywhere so it remains "inserted" in QEMU's
> terms.

This is expected behavior, and matches what IDE does.

Markus, can you confirm?

Paolo



reply via email to

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