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

2012-03-12 Thread Daniel Veillard
On Fri, Mar 09, 2012 at 06:49:20PM +0800, Osier Yang wrote: On 2012年03月09日 16:55, Daniel Veillard wrote: On Mon, Mar 05, 2012 at 06:25:39PM +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

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

2012-03-12 Thread Osier Yang
On 03/12/2012 04:31 PM, Daniel Veillard wrote: On Fri, Mar 09, 2012 at 06:49:20PM +0800, Osier Yang wrote: On 2012年03月09日 16:55, Daniel Veillard wrote: On Mon, Mar 05, 2012 at 06:25:39PM +0800, Osier Yang wrote: This patch introduces a new event type for the QMP event DEVICE_TRAY_MOVED, which

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

2012-03-09 Thread Daniel Veillard
On Mon, Mar 05, 2012 at 06:25:39PM +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_MOVED The event's data includes the device

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

2012-03-09 Thread Osier Yang
On 2012年03月09日 16:55, Daniel Veillard wrote: On Mon, Mar 05, 2012 at 06:25:39PM +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):

[libvirt] [PATCH 1/9] Add support for event tray moved of removable disks

2012-03-05 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_MOVED The event's data includes the device alias and the tray's status, which indicates whether the tray has