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

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



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


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