search for: echo_daemon

Displaying 20 results from an estimated 64 matches for "echo_daemon".

2009 Sep 11
2
[PATCH] Add echo_daemon command
echo_daemon is a simple echo which can be used to test connectivity between the client and daemon. --- daemon/Makefile.am | 1 + daemon/echo_daemon.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++ daemon/m4/stddef_h.m4 | 45 +++++++++++++++++++++++++++++++++ po/POTFILES.in | 1 +...
2014 Aug 18
2
[PATCH] daemon: echo-daemon: do not crash on empty string
...s return value. --- daemon/echo-daemon.c | 8 ++++++++ generator/actions.ml | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/daemon/echo-daemon.c b/daemon/echo-daemon.c index c805819..d8f1028 100644 --- a/daemon/echo-daemon.c +++ b/daemon/echo-daemon.c @@ -65,6 +65,14 @@ do_echo_daemon (char *const *argv) argv++; } + if (NULL == out) { + /* No strings, so create a new empty array. */ + out = malloc (sizeof (char *)); + if (NULL == out) { + reply_with_perror ("malloc"); + return NULL; + } + } /* NULL terminate the output */ out[o...
2014 Sep 16
5
[PATCH 0/3] tests: Introduce test harness for running tests.
These are my thoughts on adding a test harness to run tests instead of using automake. The aim of this exercise is to allow us to run the full test suite on an installed copy of libguestfs. Another aim is to allow us to work around all the limitations and problems of automake. The first patch makes an observation that since the ./run script sets up $PATH to contain all the directories
2017 May 04
4
[PATCH 0/3] generator: Allow returned strings to be annotated as devices.
If we want to permit more than 255 drives to be added, then we will have to add the disks to the same virtio-scsi target using different unit (LUN) numbers. Unfortunately SCSI LUN enumeration in the Linux is not deterministic (eg. two disks with target=0, lun=[0,1] can be enumerated as /dev/sda or /dev/sdb randomly). Dealing with that will require some very complex device name translation on the
2012 Jan 12
1
Libguestfs gobject bindings
I'm currently working on gobject bindings for libguestfs. I haven't got as far as compiling anything yet, but I've attached the C header for initial review. Matt -- Matthew Booth, RHCA, RHCSS Red Hat Engineering, Virtualisation Team GPG ID: D33C3490 GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490 -------------- next part -------------- An embedded and
2017 Feb 21
1
[PATCH] generator: Put all the daemon procedure numbers (proc_nr)
This is a follow-up to the other generator changes in: https://www.redhat.com/archives/libguestfs/2017-February/msg00217.html Rich.
2012 Apr 30
5
[PATCH 0/4 v1] Remove gettextify, implement OCaml gettext.
Version 1 of the patch, for discussion, but not to be applied. It does work, but needs a lot more testing. This removes all the psychopathic gettextify cruft, and replaces it with a 99 line Makefile.am. A large win, I think. The third patch implements gettext support in the OCaml tools. The fourth patch is just for illustration. It shows the consequent changes to libguestfs.pot and the po
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...(PlainString, "modulename")], []; optional = Some "linuxmodules"; tests = [ InitNone, Always, TestRun [["modprobe"; "fat"]], [] @@ -4737,7 +4737,7 @@ This loads a kernel module in the appliance." }; { defaults with name = "echo_daemon"; added = (1, 0, 69); - style = RString "output", [StringList "words"], []; + style = RString "output", [StringList (PlainString, "words")], []; tests = [ InitNone, Always, TestResultString ( [["echo_daemon"; "Th...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator. Rich.
2017 Feb 18
8
[PATCH 0/6] generator: Split up generator/actions.ml
Split up the huge generator/actions.ml into several smaller files. Rich.
2011 Mar 04
1
builder-debian libguestfs FAILED build step eda9826d25336bcf661700270c580d4d62128750
...CC guestfsd-cmp.o CC guestfsd-command.o CC guestfsd-cpmv.o CC guestfsd-dd.o CC guestfsd-debug.o CC guestfsd-devsparts.o CC guestfsd-df.o CC guestfsd-dir.o CC guestfsd-dmesg.o CC guestfsd-dropcaches.o CC guestfsd-du.o CC guestfsd-echo_daemon.o CC guestfsd-ext2.o CC guestfsd-fallocate.o CC guestfsd-file.o CC guestfsd-findfs.o CC guestfsd-fill.o CC guestfsd-find.o CC guestfsd-fsck.o CC guestfsd-glob.o CC guestfsd-grep.o CC guestfsd-grub.o CC guestfsd-guestfsd.o CC gu...
2011 Feb 15
4
builder-debian libguestfs FAILED build step f455dc3814bf9f7e7e894ba81360acb0edd92464
...CC guestfsd-cmp.o CC guestfsd-command.o CC guestfsd-cpmv.o CC guestfsd-dd.o CC guestfsd-debug.o CC guestfsd-devsparts.o CC guestfsd-df.o CC guestfsd-dir.o CC guestfsd-dmesg.o CC guestfsd-dropcaches.o CC guestfsd-du.o CC guestfsd-echo_daemon.o CC guestfsd-ext2.o CC guestfsd-fallocate.o CC guestfsd-file.o CC guestfsd-findfs.o CC guestfsd-fill.o CC guestfsd-find.o CC guestfsd-fsck.o CC guestfsd-glob.o CC guestfsd-grep.o CC guestfsd-grub.o CC guestfsd-guestfsd.o CC gu...
2011 Jan 28
0
builder-debian libguestfs FAILED build step f060d5bcd40b4a6506d7994e67d57dccab1651b8
...CC guestfsd-cmp.o CC guestfsd-command.o CC guestfsd-cpmv.o CC guestfsd-dd.o CC guestfsd-debug.o CC guestfsd-devsparts.o CC guestfsd-df.o CC guestfsd-dir.o CC guestfsd-dmesg.o CC guestfsd-dropcaches.o CC guestfsd-du.o CC guestfsd-echo_daemon.o CC guestfsd-ext2.o CC guestfsd-fallocate.o CC guestfsd-file.o CC guestfsd-findfs.o CC guestfsd-fill.o CC guestfsd-find.o CC guestfsd-fsck.o CC guestfsd-glob.o CC guestfsd-grep.o CC guestfsd-grub.o CC guestfsd-guestfsd.o CC gu...
2011 Mar 15
0
builder-debian libguestfs FAILED build step d1f1f74e5f45fa5b94ebb096fa65fa33ecc23d09
...CC guestfsd-cmp.o CC guestfsd-command.o CC guestfsd-cpmv.o CC guestfsd-dd.o CC guestfsd-debug.o CC guestfsd-devsparts.o CC guestfsd-df.o CC guestfsd-dir.o CC guestfsd-dmesg.o CC guestfsd-dropcaches.o CC guestfsd-du.o CC guestfsd-echo_daemon.o CC guestfsd-ext2.o CC guestfsd-fallocate.o CC guestfsd-file.o CC guestfsd-findfs.o CC guestfsd-fill.o CC guestfsd-find.o CC guestfsd-fsck.o CC guestfsd-glob.o CC guestfsd-grep.o CC guestfsd-grub.o CC guestfsd-guestfsd.o CC gu...
2011 Mar 22
1
builder-debian libguestfs FAILED build step 0daf7e81a659bcdc1ce327151cc1207b124a35a1
...CC guestfsd-cmp.o CC guestfsd-command.o CC guestfsd-cpmv.o CC guestfsd-dd.o CC guestfsd-debug.o CC guestfsd-devsparts.o CC guestfsd-df.o CC guestfsd-dir.o CC guestfsd-dmesg.o CC guestfsd-dropcaches.o CC guestfsd-du.o CC guestfsd-echo_daemon.o CC guestfsd-ext2.o CC guestfsd-fallocate.o CC guestfsd-file.o CC guestfsd-findfs.o CC guestfsd-fill.o CC guestfsd-find.o CC guestfsd-fsck.o CC guestfsd-glob.o CC guestfsd-grep.o CC guestfsd-grub.o CC guestfsd-guestfsd.o CC gu...
2011 Mar 29
1
builder-debian libguestfs FAILED build step 58f7a5a4ac8cce77dfaded1c29f3ad382b4cc9a8
...CC guestfsd-cmp.o CC guestfsd-command.o CC guestfsd-cpmv.o CC guestfsd-dd.o CC guestfsd-debug.o CC guestfsd-devsparts.o CC guestfsd-df.o CC guestfsd-dir.o CC guestfsd-dmesg.o CC guestfsd-dropcaches.o CC guestfsd-du.o CC guestfsd-echo_daemon.o CC guestfsd-ext2.o CC guestfsd-fallocate.o CC guestfsd-file.o CC guestfsd-findfs.o CC guestfsd-fill.o CC guestfsd-find.o CC guestfsd-fsck.o CC guestfsd-glob.o CC guestfsd-grep.o CC guestfsd-grub.o CC guestfsd-guestfsd.o CC gu...
2011 Apr 01
0
builder-debian libguestfs FAILED build step 05dbe09a5c5be3d5f68dc6eb033c4f642fbac8bf
...CC guestfsd-cmp.o CC guestfsd-command.o CC guestfsd-cpmv.o CC guestfsd-dd.o CC guestfsd-debug.o CC guestfsd-devsparts.o CC guestfsd-df.o CC guestfsd-dir.o CC guestfsd-dmesg.o CC guestfsd-dropcaches.o CC guestfsd-du.o CC guestfsd-echo_daemon.o CC guestfsd-ext2.o CC guestfsd-fallocate.o CC guestfsd-file.o CC guestfsd-findfs.o CC guestfsd-fill.o CC guestfsd-find.o CC guestfsd-fsck.o CC guestfsd-glob.o CC guestfsd-grep.o CC guestfsd-grub.o CC guestfsd-guestfsd.o CC gu...
2011 Mar 25
1
builder-debian libguestfs FAILED build step a0e3b2183733c7440ad017c4ffe361935672339b
...CC guestfsd-cmp.o CC guestfsd-command.o CC guestfsd-cpmv.o CC guestfsd-dd.o CC guestfsd-debug.o CC guestfsd-devsparts.o CC guestfsd-df.o CC guestfsd-dir.o CC guestfsd-dmesg.o CC guestfsd-dropcaches.o CC guestfsd-du.o CC guestfsd-echo_daemon.o CC guestfsd-ext2.o CC guestfsd-fallocate.o CC guestfsd-file.o CC guestfsd-findfs.o CC guestfsd-fill.o CC guestfsd-find.o CC guestfsd-fsck.o CC guestfsd-glob.o CC guestfsd-grep.o CC guestfsd-grub.o CC guestfsd-guestfsd.o CC gu...
2011 Apr 01
0
builder-ubuntu libguestfs FAILED build step 8bb22a2902fc723eb809086dd93f5b8ed2ec85b1
...CC guestfsd-cmp.o CC guestfsd-command.o CC guestfsd-cpmv.o CC guestfsd-dd.o CC guestfsd-debug.o CC guestfsd-devsparts.o CC guestfsd-df.o CC guestfsd-dir.o CC guestfsd-dmesg.o CC guestfsd-dropcaches.o CC guestfsd-du.o CC guestfsd-echo_daemon.o CC guestfsd-ext2.o CC guestfsd-fallocate.o CC guestfsd-file.o CC guestfsd-findfs.o CC guestfsd-fill.o CC guestfsd-find.o CC guestfsd-fsck.o CC guestfsd-glob.o CC guestfsd-grep.o CC guestfsd-grub.o CC guestfsd-guestfsd.o CC gu...
2011 Jun 14
1
builder-debian libguestfs FAILED build step 4ee190628bc05f0c8fad1f6d9c3e85619a91e8b8
...CC guestfsd-cmp.o CC guestfsd-command.o CC guestfsd-cpmv.o CC guestfsd-dd.o CC guestfsd-debug.o CC guestfsd-devsparts.o CC guestfsd-df.o CC guestfsd-dir.o CC guestfsd-dmesg.o CC guestfsd-dropcaches.o CC guestfsd-du.o CC guestfsd-echo_daemon.o CC guestfsd-ext2.o CC guestfsd-fallocate.o CC guestfsd-file.o CC guestfsd-findfs.o CC guestfsd-fill.o CC guestfsd-find.o CC guestfsd-fsck.o CC guestfsd-glob.o CC guestfsd-grep.o CC guestfsd-grub.o CC guestfsd-guestfsd.o CC gu...