hotplug support for "filesystem" devices?

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

 



Hello all,

I'm a newbie to libvirt, coming to it because I'm trying to understand how to provide the ability to attach/detach network filesystem shares to openstack guest instances in something analogous to the way block devices can be now.

While playing with the existing virtfs/9p support for qemu, I found that I can't use virsh to attach a "filesystem" device while the VM is running. For example, I create a snippet of XML like

<filesystem type='mount' accessmode='mapped'>
  <source dir='/tmp/share'/>
  <target dir='share_tag'/>
</filesystem>

and then try:
stack@devstack-8366:~/devstack$ virsh list
 Id    Name                           State
----------------------------------------------------
 3     instance-00000002              running
 5     instance-00000004              running
 8     instance-00000007              running

stack@devstack-8366:~/devstack$ virsh attach-device 8 share.xml
error: Failed to attach device from share.xml
error: Operation not supported: live attach of device 'filesystem' is not supported


I see that error coming from src/qemu/qemu_driver.c in the qemuDomainAttachDeviceLive function.

Can anyone tell me if this is something that is going to be hard or easy to make possible? Pointers to where I should look in the source, or in qemu? Is anyone working it already?

Any advice at all welcome,
Thanks
-Emile Snyder

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]