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

Gao feng gaofeng at cn.fujitsu.com
Wed Nov 7 09:12:59 UTC 2012


于 2012年11月07日 16:58, Richard W.M. Jones 写道:
> 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

I don't know how the blocking thread is implemented? by fuse self or libguestfs?

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

Thanks,it's helpful for me.
Gao




More information about the libvir-list mailing list