On Wed, Jul 16, 2014 at 01:17:23AM +0400, Vasiliy Tolstov wrote:
2014-07-16 1:12 GMT+04:00 Richard W.M. Jones <rjones@redhat.com>:
I believe I investigates making a squashfs from within libguestfs, and although it's possible, it is not possible to stream the output (unlike, say, guestfs_tar_out or guestfs_cpio_out). This means that the maximum size of the squashfs would be quite small.
Nevertheless we could add an API to do it. (Even better if you can find a way to stream mksquashfs).
May be i'm wrong but does it possible to create ability to export guest file system via 9p proto? If yes - i can mount share with fuse inside go application via 9p protocol...
There is some support for 9p in the libguestfs APIs. I would be worried about 9p support upstream (in qemu) as it appears to be dead. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html