Re: [libvirt] [Qemu-devel] Close the BlockDriverState when guest eject the media

2014-10-27 Thread Markus Armbruster
Eric Blake writes: > On 10/21/2014 12:10 AM, Gonglei wrote: > > There is a problem. > > 1. Qemu receive the "eject" command. > 2. Runs "eject_request_cb" when an eject request is issued from > the monitor, the tray > is closed, and the medium is locked. But the drive is no

Re: [libvirt] [Qemu-devel] Close the BlockDriverState when guest eject the media

2014-10-24 Thread Eric Blake
On 10/21/2014 12:10 AM, Gonglei wrote: There is a problem. 1. Qemu receive the "eject" command. 2. Runs "eject_request_cb" when an eject request is issued from the monitor, the tray is closed, and the medium is locked. But the drive is not closed. 3. Guest agree

Re: [libvirt] [Qemu-devel] Close the BlockDriverState when guest eject the media

2014-10-20 Thread Gonglei
On 2014/10/21 13:53, Weidong Huang wrote: > On 2014/10/20 19:39, Kevin Wolf wrote: > >> Am 20.10.2014 um 13:27 hat Weidong Huang geschrieben: >>> On 2014/10/20 17:41, Kevin Wolf wrote: >>> Am 18.10.2014 um 12:02 hat Weidong Huang geschrieben: > Hi ALL: > > There are two ways to e