From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVdYg-00075F-RV for qemu-devel@nongnu.org; Thu, 03 Apr 2014 05:03:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVdYa-0006f0-Bz for qemu-devel@nongnu.org; Thu, 03 Apr 2014 05:03:38 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:17306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVdYY-0006dl-Vj for qemu-devel@nongnu.org; Thu, 03 Apr 2014 05:03:32 -0400 Message-ID: <533D23C0.8080408@huawei.com> Date: Thu, 3 Apr 2014 17:02:56 +0800 From: xiexiangyou MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Is it necessary to add a Monitor event of QEVENT_DEVICE_ADDED List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mst@redhat.com Hi all, As we know, when hot-add a device, we don't know whether the device is present in VM from outside(like libvirt). However, unplugging device, when complete remove the device, Qemu will generate a Monitor event,QEVENT_DEVICE_DELETED. Libvirt can receive the event and do something. So is it necessary to add a Monitor event of completing add device such as QEVENT_DEVICE_ADDED. Regards, -xie