Re: virDomain{Attach, Detach, Update}DeviceFlags filesystem support for qemu driver

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

 



On Tue, Nov 26, 2013 at 07:08:07PM -0600, Jesse Cook wrote:
> It does not currently appear to be possible to attach/detach a filesystem
> with kvm through the C API or virsh. Looking at
> src/qemu/qemu_driver.c:qemuDomain{Attach,Detach,Update}Config,
> VIR_DOMAIN_DEVICE_FS is not a case within the switch statement for
> dev->type.
> 
> Is support for this planned for the near future or in progress? If not, how
> much would have to be implemented outside these functions to add support
> for attaching, detaching, and modifying filesystems? I would like to gauge
> whether I should carve out time to add support, or work around it by using
> disks in place of filesystems. Thanks!

IIRC, QEMU itself does not have support for hot-adding filesystem backends,
which means we can't support this in libvirt in the live case. THe best
we could do is add to the offline config file. If QEMU gained support for
fsdev-add/fsdev-remove monitor commands we'd be happy to see this in
libvirt.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
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]