Displaying 20 results from an estimated 200 matches similar to: "[PATCH v2] fuse: use the configured program name"
2017 Feb 03
0
Re: [PATCH v2] fuse: use the configured program name
On Thu, Feb 02, 2017 at 02:32:45PM +0100, Pino Toscano wrote:
> When initializing FUSE, use the program name as set (either
> automatically or manually) in the guestfs handle.
> ---
> lib/fuse.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/lib/fuse.c b/lib/fuse.c
> index 0180f8f..98bbc8d 100644
> --- a/lib/fuse.c
> +++ b/lib/fuse.c
>
2017 Jan 05
0
[PATCH] fuse: use the configured program name
When initializing FUSE, use the program name as set (either
automatically or manually) in the guestfs handle.
---
src/fuse.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/fuse.c b/src/fuse.c
index 0180f8f..98bbc8d 100644
--- a/src/fuse.c
+++ b/src/fuse.c
@@ -989,8 +989,7 @@ guestfs_impl_mount_local (guestfs_h *g, const char *localmountpoint,
return -1;
/*
2018 May 02
1
[RFC] fuse: mount_local: Fix crash when called from Java binding
"localmountpoint" parameter is allocated in JNI before calling
mount_local and freed afterward. But guestfs handle keeps reference
to passed "localmountpoint" argument and will try to use and free it
in umount_local which leads to a crash because an attempt to access
already freed memory region.
It is not easy to fix on JNI side because the code is auto-generated.
And I
2012 Mar 28
2
[PATCH v2] New APIs: mount-local and umount-local using FUSE
This version doesn't crash or cause hung processes or stuck
mountpoints, so that's an improvement.
Rich.
2012 Mar 27
3
[PATCH 0/3] Enable FUSE support in the API via 'mount-local' call.
This patch is just for review.
It enables FUSE support in the API via two new calls,
'guestfs_mount_local' and 'guestfs_umount_local'.
FUSE turns out to be very easy to deadlock (necessitating that the
machine be rebooted). Running the test from the third patch is
usually an effective way to demonstrate this. However I have not yet
managed to produce a simple reproducer that
2018 May 02
0
[PATCH v2] fuse: mount_local: Fix crash when called from Java binding.
"localmountpoint" parameter is allocated in JNI before calling
mount_local and freed afterward. But guestfs handle keeps reference
to passed "localmountpoint" parameter and will try to access it in
umount_local and free after mount_local_run caller thread ends
which leads to a crash (an attempt to access to already freed memory).
---
lib/fuse.c | 5 +++--
lib/handle.c | 1 +
2012 Mar 29
3
[PATCH v3] New APIs: mount-local, mount-local-run and umount-local using FUSE
This changes the proposed API slightly.
Previously 'mount-local' generating a 'mounted' event when the
filesystem was ready, and from the 'mounted' event you had to
effectively do a fork.
Now, 'mount-local' just initializes the mountpoint and you have to
call 'mount-local-run' to enter the FUSE main loop. Between these
calls you can do a fork or whatever
2018 Jun 15
1
[PATCH] fuse: fix build when not available
The 'localmountpoint' variable in the handle is available only when
building with FUSE support, so guard it in a proper #ifdef block.
Fixes commit 296370fb86e96eec095d86faf6de8f532395ea54.
---
lib/handle.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/handle.c b/lib/handle.c
index bc45d29b2..a47aaafab 100644
--- a/lib/handle.c
+++ b/lib/handle.c
@@ -399,7 +399,9 @@
2019 Oct 12
3
[PATCH libnbd] nbdfuse: New tool to present a network block device in a FUSE filesystem.
This program allows you to turn a network block device source into a
FUSE filesystem containing a virtual file:
$ nbdkit memory 128M
$ mkdir mp
$ nbdfuse mp/ramdisk nbd://localhost &
$ ls -l mp
total 0
-rw-rw-rw-. 1 rjones rjones 134217728 Oct 12 15:09 ramdisk
$ dd if=/dev/urandom bs=1M count=128 of=mp/ramdisk conv=notrunc,nocreat
128+0 records in
128+0 records out
2019 Oct 14
0
Re: [PATCH libnbd] nbdfuse: New tool to present a network block device in a FUSE filesystem.
On 10/12/19 9:21 AM, Richard W.M. Jones wrote:
> This program allows you to turn a network block device source into a
> FUSE filesystem containing a virtual file:
>
> $ nbdkit memory 128M
> $ mkdir mp
> $ nbdfuse mp/ramdisk nbd://localhost &
> $ ls -l mp
> total 0
> -rw-rw-rw-. 1 rjones rjones 134217728 Oct 12 15:09 ramdisk
> $ dd
2014 Jan 15
1
[PATCH] fuse: remove extra trailing \n in debug messages
debug() adds it already.
---
src/fuse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/fuse.c b/src/fuse.c
index d684c84..288c02a 100644
--- a/src/fuse.c
+++ b/src/fuse.c
@@ -68,7 +68,7 @@ gl_lock_define_initialized (static, mount_local_lock);
#define DEBUG_CALL(fs,...) \
if (g->ml_debug_calls) {
2011 Dec 14
3
Proposed changes for OpenStack
[These two patches are for discussion only]
Allow FUSE support to be used directly through the API.
This is the second commit.
In order to make this usable from guestfish, we have to
also bind the events API in guestfish. This is the first
commit.
Rich.
2014 Sep 23
0
[PATCH 02/13] syntax-check: fix error_message_period check
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
resize/resize.ml | 10 +++++-----
sparsify/copying.ml | 2 +-
src/fuse.c | 2 +-
src/launch-libvirt.c | 4 ++--
src/libvirt-domain.c | 2 +-
v2v/convert_linux.ml | 6 +++---
v2v/input_libvirt.ml | 4 ++--
v2v/lib_ovf.ml | 2 +-
v2v/output_glance.ml | 2 +-
v2v/output_rhev.ml | 6 +++---
v2v/v2v.ml |
2012 Oct 18
10
[PATCH 0/10] Add a mini-library for running external commands.
Inspired by libvirt's virCommand* internal mini-library, this adds
some internal APIs for running commands.
The first patch contains the new APIs. The subsequent patches change
various parts of the library over to use it.
Rich.
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers.
These aren't valid for global names in C++.
(http://stackoverflow.com/a/228797)
These large but completely mechanical patches change the illegal
identifiers to legal ones.
Rich.
2014 Jun 27
3
[PATCH WIP] Can't generate argv variant
Hi everyone,
lately I've been getting familiar with library and working on slight
re-layering of the library. It's about having locking layer in public API and
tracing one layer below that (let's call it __t_ layer. I'm not very good at
making up names, so this is temporary:) ). Then making sure that all generated
public stuff call __t_ layer and all other internal stuff
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
Because of previous automated commits, such as changing 'guestfs___'
-> 'guestfs_int_', several function calls no longer lined up with
their parameters, and some lines were too long.
The bulk of this commit was done using emacs batch mode and the
technique described here:
http://www.cslab.pepperdine.edu/warford/BatchIndentationEmacs.html
The changes suggested by emacs were
2017 Jul 28
2
cannot find any suitable libguestfs supermin
I download libguestfs from github and fetch to the *origin master*.
I tried to build libguestfs in my own linux distro and I followd the
http://libguestfs.org/guestfs-building.1.html#using-a-prebuilt-binary-appliance
to replace with supermin
I download the appliance-1.30.1.tar.xz and appliance-1.30.1.tar.xz.sig
and extract the tarball to /home/user/appliance
and export
2017 Feb 14
1
Re: [PATCH 06/10] copy-out: new 'excludes' optional argument
On Tue, Feb 14, 2017 at 09:12:07AM +0100, Pino Toscano wrote:
> Add a new 'excludes' optional argument to copy-out, passing it straight
> to tar-out: this way it is possible to exclude files when extracting a
> directory from the guest.
> ---
> generator/actions.ml | 16 ++++++++++++++--
> gobject/Makefile.inc | 2 ++
> lib/copy-in-out.c | 13 ++++++++++---
> 3
2017 Jul 29
2
Re: cannot find any suitable libguestfs supermin
2017-07-29 0:20 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>:
>
> You need to download this appliance:
>
> http://download.libguestfs.org/binaries/appliance/
> appliance-1.36.1.tar.xz
>
> and unpack it under /home/user/appliance/ .
>
> Directly inside the /home/user/appliance directory you should see
> files called "initrd", "kernel",