From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDFiK-0000WM-UG for qemu-devel@nongnu.org; Wed, 06 Mar 2013 09:53:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDFiE-0004K0-65 for qemu-devel@nongnu.org; Wed, 06 Mar 2013 09:53:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:11412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDFiD-0004Jr-UQ for qemu-devel@nongnu.org; Wed, 06 Mar 2013 09:52:58 -0500 Message-ID: <51375842.1090700@redhat.com> Date: Wed, 06 Mar 2013 15:52:50 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <20130306130055.GA29446@redhat.com> <51375650.1060800@redhat.com> In-Reply-To: <51375650.1060800@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qdev: DEVICE_DELETED event List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Kevin Wolf , Anthony Liguori , Eduardo Habkost , "Michael S. Tsirkin" , qemu-devel@nongnu.org, Stefan Hajnoczi , Markus Armbruster , Luiz Capitulino , Gerd Hoffmann , laine@redhat.com, =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Il 06/03/2013 15:44, Eric Blake ha scritto: > Question - if libvirt misses the event (for example, if libvirtd > requests a remove, but then gets restarted, and the event arrives before > libvirtd is back up), is there a way to poll whether the the removal has > completed? The event is great to minimize polling overhead in the > common case, but we generally provide this sort of information via a > pollable interface at the same time. Yes, you can use qom-list on /machine/peripheral. Paolo