Displaying 15 results from an estimated 15 matches similar to: "[PATCH] daemon: add missing GUESTFSD_EXT_CMD usage"
2017 Jul 27
0
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
GUESTFSD_EXT_CMD was used by OpenSUSE to track which external commands
are run by the daemon and package those commands into the appliance.
It is no longer used by recent SUSE builds, so remove it.
Thanks: Pino Toscano, Olaf Hering.
---
daemon/9p.c | 3 +-
daemon/available.c | 7 +--
daemon/base64.c | 6 +--
daemon/blkid.c | 10 ++---
2017 Jul 24
0
[PATCH 2/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
GUESTFSD_EXT_CMD is used by OpenSUSE to track which external commands
are run by the daemon and package those commands into the appliance.
However because this uses linker trickery it won't work from OCaml
code.
Replace it with a [nearly] standard C mechanism. Files still have to
declare the external commands they will use, eg:
DECLARE_EXTERNAL_COMMANDS ("btrfs",
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
guestfsd calls many different tools. Keeping track of all of them is
error prone. This patch introduces a new helper macro to put the command
string into its own ELF section:
GUESTFSD_EXT_CMD(C_variable, command_name);
This syntax makes it still possible to grep for used command names.
The actual usage of the collected list could be like this:
objcopy -j .guestfsd_ext_cmds -O binary
2012 Aug 30
1
[PATCH] collect list of called external commands
guestfsd calls many different tools. Keeping track of all of them is
error prone. This patch introduces a new helper macro to put the command
string into its own ELF section:
GUESTFS_EXT_CMD(C_variable, command_name);
This syntax makes it still possible to grep for used command names.
The actual usage of the collected list could be like this:
objcopy -j .guestfs_ext_cmds -O binary
2017 Jul 27
0
Re: [PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
Hi Olaf and Cédric,
On Monday, 24 July 2017 18:10:12 CEST Richard W.M. Jones wrote:
> Replace GUESTFSD_EXT_CMD with a command line option
> ‘./guestfsd --print-external-commands’
This mini-series basically changes the way external programs used in
the appliance are collected; this was done 5 years ago (!) as
commit 0306c98d319d189281af3c15101c8d343e400f13, to help the creation
of
2017 Jul 27
2
Re: [PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
On Thu, Jul 27, Pino Toscano wrote:
> Is this mechanism still used there? If so, is the approach done by Rich
> acceptable for you? What are your use cases/constraints/etc?
This is not used anymore because supermin instead of mkinitrd is used
since a while.
Olaf
2017 Jul 27
1
Re: [PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
On Thu, Jul 27, 2017 at 04:58:52PM +0200, Pino Toscano wrote:
> Hi Olaf and Cédric,
>
> On Monday, 24 July 2017 18:10:12 CEST Richard W.M. Jones wrote:
> > Replace GUESTFSD_EXT_CMD with a command line option
> > ‘./guestfsd --print-external-commands’
>
> This mini-series basically changes the way external programs used in
> the appliance are collected; this was done
2017 Jul 27
0
Re: [PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
On Thu, Jul 27, 2017 at 05:13:40PM +0200, Olaf Hering wrote:
> On Thu, Jul 27, Pino Toscano wrote:
>
> > Is this mechanism still used there? If so, is the approach done by Rich
> > acceptable for you? What are your use cases/constraints/etc?
>
> This is not used anymore because supermin instead of mkinitrd is used
> since a while.
Indeed .. Google turned up the old
2012 Sep 03
1
[PATCH] daemon: provide list of checksum commands
While adding the list of external commands I missed the
various checksum tools.
Signed-off-by: Olaf Hering <olaf at aepfle.de>
---
WARNING: not compile tested ...
diff --git a/daemon/checksum.c b/daemon/checksum.c
index f2e040d..f16a7c0 100644
--- a/daemon/checksum.c
+++ b/daemon/checksum.c
@@ -31,24 +31,31 @@
GUESTFSD_EXT_CMD(str_find, find);
GUESTFSD_EXT_CMD(str_xargs, xargs);
2017 Jul 27
3
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
This is a simpler patch that removes GUESTFSD_EXT_CMD completely.
2017 Jul 24
6
[PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
Replace GUESTFSD_EXT_CMD with a command line option
‘./guestfsd --print-external-commands’
2015 Nov 05
0
[PATCH 2/2] actions: refactor available & feature_available
Refactor the internal_feature_available to return the result for just
one group, so it is easier to know on the library side what was the
actual error, and which group refers to; drop internal_available, as no
more needed after this.
On the library side, implement in available and feature_available the
real logic to iterate through the requested group, and error out or
return whether the groups
2017 Jul 14
0
[PATCH 13/27] daemon: Reimplement ‘list_ldm_(volumes|partitions)’ APIs in OCaml.
---
daemon/Makefile.am | 2 ++
daemon/ldm.c | 82 -----------------------------------------------
daemon/ldm.ml | 52 ++++++++++++++++++++++++++++++
daemon/ldm.mli | 20 ++++++++++++
generator/actions_core.ml | 2 ++
5 files changed, 76 insertions(+), 82 deletions(-)
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 7c50e1346..22a3036f8
2016 Jan 09
0
[PATCH] build: Require qemu >= 1.3.0 and yajl.
Require qemu >= 1.3.0, the first version that supported
`qemu-img --output=json'.
This means we require yajl (for parsing the JSON output of qemu-img),
and that in turn has consequences elsewhere.
---
README | 10 +-
builder/Makefile.am | 2 -
builder/sources.ml | 9 +-
builder/yajl-c.c | 30 -----
builder/yajl.ml | 2 -
builder/yajl.mli
2016 Mar 07
2
[PATCH v2] Use less stack.
GCC has two warnings related to large stack frames. We were already
using the -Wframe-larger-than warning, but this reduces the threshold
from 10000 to 5000 bytes.
However that warning only covers the static part of frames (not
alloca). So this change also enables -Wstack-usage=10000 which covers
both the static and dynamic usage (alloca and variable length arrays).
Multiple changes are made