qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: "Kevin Wolf" <kwolf@redhat.com>,
	"Anthony Liguori" <aliguori@us.ibm.com>,
	"Eduardo Habkost" <ehabkost@redhat.com>,
	libvir-list@redhat.com, qemu-devel@nongnu.org,
	"Markus Armbruster" <armbru@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Luiz Capitulino" <lcapitulino@redhat.com>,
	"Andreas Färber" <afaerber@suse.de>
Subject: Re: [Qemu-devel] [libvirt] [PATCH v6 1/3] qdev: DEVICE_DELETED event
Date: Thu, 14 Mar 2013 17:31:33 -0600	[thread overview]
Message-ID: <51425DD5.5090205@redhat.com> (raw)
In-Reply-To: <20130314122237.GA18850@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 644 bytes --]

On 03/14/2013 06:22 AM, Michael S. Tsirkin wrote:
>>> 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?
> 
> With my patch, it does.

Good.  That is the best behavior, if libvirt is going to start relying
on the event as a means to avoid polling on all but libvirtd restarts.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 621 bytes --]

  reply	other threads:[~2013-03-14 23:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-13 17:46 [Qemu-devel] [PATCH v6 0/3] DEVICE_DELETED event Michael S. Tsirkin
2013-03-13 17:46 ` [Qemu-devel] [PATCH v6 1/3] qdev: " Michael S. Tsirkin
2013-03-14  8:06   ` Markus Armbruster
2013-03-14  8:48     ` Michael S. Tsirkin
2013-03-14 12:13       ` Markus Armbruster
2013-03-14 12:22         ` Michael S. Tsirkin
2013-03-14 23:31           ` Eric Blake [this message]
2013-03-14  8:53     ` Michael S. Tsirkin
2013-03-14 12:24       ` Markus Armbruster
2013-03-13 17:46 ` [Qemu-devel] [PATCH v6 2/3] qom: pass original path to unparent method Michael S. Tsirkin
2013-03-13 17:46 ` [Qemu-devel] [PATCH v6 3/3] qmp: add path to device_deleted event Michael S. Tsirkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51425DD5.5090205@redhat.com \
    --to=eblake@redhat.com \
    --cc=afaerber@suse.de \
    --cc=aliguori@us.ibm.com \
    --cc=armbru@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=libvir-list@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).