Re: [PATCH v7 2/6] add fuse support for libvirt lxc

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

 



More specifically, this is how the libguestfs API works:

  Main thread                                Other thread
  -----------------------------              ---------------------

  guestfs_mount_local (g, "/mntpoint");

       calls: fuse_mount
              fuse_chan_fd
              fuse_new

  fork () or pthread_create () --creates-->   Start to access the
                                              /mntpoint; blocks until
					      main thread calls fuse_loop

  guestfs_mount_local_run (g);

       calls: fuse_loop
              starts to process               Unblocks and starts running
	        requests


Note that there is a problem with SELinux and extended attributes:

https://bugzilla.redhat.com/show_bug.cgi?id=691389
https://bugzilla.redhat.com/show_bug.cgi?id=811217

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org

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