qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qmp: add BLOCK_MEDIUM_EJECT event


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] qmp: add BLOCK_MEDIUM_EJECT event
Date: Tue, 31 Jan 2012 09:33:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0

Am 30.01.2012 16:55, schrieb Paolo Bonzini:
> On 01/30/2012 04:43 PM, Kevin Wolf wrote:
>>>>>>
>>>>>>  If we had force=true in the initial eject command, bdrv_close is called,
>>>>>>  which in turn goes through bdrv_dev_change_media_cb where an event is
>>>>>>  emitted.
>>>>
>>>>  Can't this race with the guest eject?
>> Can't see how, there's nothing asynchronous in the path.
> 
> The button press is sent down to the guest even with -f.

Right, but there's no race. The guest will always be later.

Kevin



reply via email to

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