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