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

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

 



"Michael S. Tsirkin" <mst@xxxxxxxxxx> writes:

> On Thu, Mar 14, 2013 at 09:06:15AM +0100, Markus Armbruster wrote:
>> "Michael S. Tsirkin" <mst@xxxxxxxxxx> 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?

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]