Re: [libvirt] [PATCH 01/11] Add support for event tray moved of removable disks

2012-03-23 Thread Daniel Veillard
On Wed, Mar 14, 2012 at 11:26:45PM +0800, Osier Yang wrote: > This patch introduces a new event type for the QMP event > DEVICE_TRAY_MOVED, which occurs when the tray of a removable > disk is moved (i.e opened or closed): > > VIR_DOMAIN_EVENT_ID_TRAY_CHANGE > > The event's data includes the d

[libvirt] [PATCH 01/11] Add support for event tray moved of removable disks

2012-03-14 Thread Osier Yang
This patch introduces a new event type for the QMP event DEVICE_TRAY_MOVED, which occurs when the tray of a removable disk is moved (i.e opened or closed): VIR_DOMAIN_EVENT_ID_TRAY_CHANGE The event's data includes the device alias and the reason for tray status' changing, which indicates why