From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGHcX-00006t-EK for qemu-devel@nongnu.org; Thu, 14 Mar 2013 19:31:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGHcW-0001iz-AK for qemu-devel@nongnu.org; Thu, 14 Mar 2013 19:31:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGHcW-0001iu-1n for qemu-devel@nongnu.org; Thu, 14 Mar 2013 19:31:36 -0400 Message-ID: <51425DD5.5090205@redhat.com> Date: Thu, 14 Mar 2013 17:31:33 -0600 From: Eric Blake MIME-Version: 1.0 References: <60194bbd0a9d9259beb9a14e19c1706bd9a07e97.1363196545.git.mst@redhat.com> <878v5q2yo8.fsf@blackfin.pond.sub.org> <20130314084817.GA14977@redhat.com> <87fvzyw54t.fsf@blackfin.pond.sub.org> <20130314122237.GA18850@redhat.com> In-Reply-To: <20130314122237.GA18850@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2UAEJCQQGHLMFSOPLLKIU" Subject: Re: [Qemu-devel] [libvirt] [PATCH v6 1/3] qdev: DEVICE_DELETED event List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Kevin Wolf , Anthony Liguori , Eduardo Habkost , libvir-list@redhat.com, qemu-devel@nongnu.org, Markus Armbruster , Paolo Bonzini , Luiz Capitulino , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2UAEJCQQGHLMFSOPLLKIU Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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? >=20 > 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. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2UAEJCQQGHLMFSOPLLKIU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRQl3VAAoJEKeha0olJ0Nq96kH/R6ceaZ59TCqHWPAdinxM2iY 8LzFibaYZcIzobywtarJpC64fEAaOUyA69VuBPq7o8hhh4KQ65vvR9k7tdnFxtcu xPJXegTbMlD4kBB4PhywBdaVIlYCSM1fOKJQZQTVH1aeWo7pv15mSwxZiarIUkpS qYLdr3daMA79RbOxHGE/z5RBIh16Az7GkQ+iOy22ytab1GS2+l9B5MzfMacirHWq tqHkbY+w8JPAdH/B6D3CyYSxlyBPW30r5Ec/K14VLVxjHV3FDNe7JVml3x08cGu7 cAJO0K/v+8Q7s5TYjXThaqR+GOvJkZjPvIMCJrSVVyysUD9pcMg+4KznFmKiYX0= =gISW -----END PGP SIGNATURE----- ------enig2UAEJCQQGHLMFSOPLLKIU--