qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Is it necessary to add a Monitor event of QEVENT_DEVICE


From: Michael S. Tsirkin
Subject: Re: [Qemu-devel] Is it necessary to add a Monitor event of QEVENT_DEVICE_ADDED
Date: Thu, 3 Apr 2014 14:18:33 +0300

On Thu, Apr 03, 2014 at 05:02:56PM +0800, xiexiangyou wrote:
> 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

I don't know.
We have QEVENT_DEVICE_DELETED so libvirt doesn't do things like reuse
the slot.  But what would be the point of QEVENT_DEVICE_ADDED?

-- 
MST



reply via email to

[Prev in Thread] Current Thread [Next in Thread]