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

Eric Blake eblake at redhat.com
Tue Aug 30 14:18:26 UTC 2011


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 at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list