[libvirt] Could Libvirt detect the guest's media change and report it?

There is some request in the management of VMs: If a guest OS give a "eject" command to reject its media, could this action be reported by libvirt? Is this possible or is there any plan to enable this in libvirt? -- Best Regards Wayne Xia mail:xiawenc@linux.vnet.ibm.com tel:86-010-82450803

On 08/30/2011 02:05 AM, Wayne Xia wrote:
There is some request in the management of VMs: If a guest OS give a "eject" command to reject its media, could this action be reported by libvirt? Is this possible or is there any plan to enable this in libvirt?
There are plans to support this, once upstream qemu adds some event notifications that libvirt can listen to in order to be informed of these changes. For an early start at the upstream work: https://lists.gnu.org/archive/html/qemu-devel/2011-01/msg01004.html although there has been some controversy, and the final design has not yet been decided on. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
participants (2)
-
Eric Blake
-
Wayne Xia