qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v6 1/3] qdev: DEVICE_DELETED event


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH v6 1/3] qdev: DEVICE_DELETED event
Date: Thu, 14 Mar 2013 13:13:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

"Michael S. Tsirkin" <address@hidden> writes:

> On Thu, Mar 14, 2013 at 09:06:15AM +0100, Markus Armbruster wrote:
>> "Michael S. Tsirkin" <address@hidden> writes:
[...]
>> > diff --git a/qapi-schema.json b/qapi-schema.json
>> > index 28b070f..bb361e1 100644
>> > --- a/qapi-schema.json
>> > +++ b/qapi-schema.json
>> > @@ -2354,7 +2354,9 @@
>> >  # Notes: When this command completes, the device may not be removed from 
>> > the
>> >  #        guest.  Hot removal is an operation that requires guest 
>> > cooperation.
>> >  #        This command merely requests that the guest begin the hot removal
>> > -#        process.
>> > +#        process.  Completion of the device removal process is signaled 
>> > with a
>> > +#        DEVICE_DELETED event. Guest reset will automatically complete 
>> > removal
>> > +#        for all devices.
>> >  #
>> >  # Since: 0.14.0
>> >  ##
>> 
>> What do you mean by "Guest reset will automatically complete removal for
>> all devices"?
>
> Just this. Try this: rmmod acpiphp in guest, then:
>
> device_del
> system_reset
>
> and see the device disappear even though it was not acked by guest.

Cool, I didn't know that.

Just to make sure: does this automatic removal completion send
DEVICE_DELETED events?



reply via email to

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