search for: unixsock

Displaying 9 results from an estimated 9 matches for "unixsock".

2006 Jan 17
0
asterisk.ctl limitations
...ct in_addr /* ... should be taken out and shot, */ /* ... not that TLI is any better. sigh.. */ @@ -149,12 +151,16 @@ unsigned int wrote_net = 0; /* total net bytes */ static char wrote_txt[] = " sent %d, rcvd %d"; static char hexnibs[20] = "0123456789abcdef "; +char * unixsock_name = NULL; /* the filename for the unix domain socket to + connect to or listen on, and also a flag + to tell when in unixsock mode */ /* will malloc up the following globals: */ struct timeval * timer1 = NULL; struct timeval * timer2 = NULL; SAI * lclend = NULL; /* sockaddr_in...
2010 Jul 05
5
[PATCH 0/3] RFC: Allow use of external QEMU process with libguestfs
This attempts to implement the idea proposed in https://www.redhat.com/archives/libguestfs/2010-April/msg00087.html The idea is that an externally managed QEMU (manual, or via libvirt) can boot the appliance kernel/initrd. libguestfs can then be just told of the UNIX domain socket associated with the guest daemon. An example based on guestfish. 1. Step one, find the appliance kernel/initrd
2009 Sep 18
1
[PATCH] Enable new-style -chardev ... guestfwd command line
...However Gerd Hoffman privately suggested to me using -chardev + * instead, which does work. */ - snprintf (vmchannel, sizeof vmchannel, - "user,vlan=0,net=10.0.2.0/8,guestfwd=tcp:%s:%d-unix:%s,server,nowait", - GUESTFWD_ADDR, GUESTFWD_PORT, unixsock); + snprintf (buf, sizeof buf, + "socket,id=guestfsvmc,path=%s,server,nowait", unixsock); + + add_cmdline (g, "-chardev"); + add_cmdline (g, buf); + + snprintf (buf, sizeof buf, + "user,vlan=0,net=10.0.2.0/8," +...
2012 Jun 17
0
[ANNOUNCE] ulogd 2.0.0 release
...plugin src: add example use of GPRINT to ulogd.conf.in configuration file NFCT: add `reliable' config option to enable reliable flow-based logging build: bump release version to 2.0.0 build: require 1.0.0 of all libraries Pierre Chifflier (2): Add new input plugin UNIXSOCK Add helper script pcap2ulog Salih Gonullu (1): ulogd: fix segfault if syslog and SIGTERM is received
2020 Sep 26
1
[PATCH nbdinfo proposal] info: Add a --map option for displaying allocation metadata
This is a rough-and-ready implementation of nbdinfo --map option, to display the allocation and other metadata of NBD exports. I only tested it lightly against nbdkit. It needs at least some tests. Command like these should work: nbdinfo --map nbd://localhost nbdinfo --map=qemu:dirty-bitmap nbd://localhost Rich.
2020 Sep 26
0
[PATCH nbdinfo v2] info: Add a --map option for displaying allocation metadata.
...uint32_t *entries, size_t nr_entries, + int *error); static void __attribute__((noreturn)) usage (FILE *fp, int exitcode) @@ -60,6 +65,7 @@ usage (FILE *fp, int exitcode) " nbdinfo nbd://localhost\n" " nbdinfo \"nbd+unix:///?socket=/tmp/unixsock\"\n" " nbdinfo --size nbd://example.com\n" +" nbdinfo --map nbd://example.com\n" " nbdinfo --json nbd://example.com\n" " nbdinfo --list nbd://example.com\n" "\n" @@ -85,6 +91,7 @@ main (int argc, char *argv[]) CONTENT_...
2020 Sep 26
2
[PATCH nbdinfo v2] info: Add a --map option for displaying allocation metadata.
Fixes bugs with JSON output in the previous patch, and adds some tests. Rich.
2020 Nov 05
1
[PATCH libnbd] copy: Allowing copying from NBD server to NBD server.
This patch is a straightforward refactoring of libnbd?s nbdcopy program, and not very interesting. However I have plans for nbdcopy (see full todo below). I would like to use this utility for virt-v2v as a replacement for ?qemu-img convert?. qemu-img has caused us a series of problems: - change in zeroing behaviour caused a big performance regression - qemu-img reads extents up-front which
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...8 @@ guestfs_launch (guestfs_h *g) * http://git.savannah.gnu.org/cgit/qemu.git/commit/?id=c92ef6a22d3c71538fcc48fb61ad353f7ba03b62 */ snprintf (vmchannel, sizeof vmchannel, - "user,vlan=0,guestfwd=tcp:%s:%d-unix:%s,server,nowait", - VMCHANNEL_ADDR, VMCHANNEL_PORT, unixsock); + "user,vlan=0,guestfwd=tcp:%s:%d-unix:%s,server,nowait", + VMCHANNEL_ADDR, VMCHANNEL_PORT, unixsock); add_cmdline (g, "-net"); add_cmdline (g, vmchannel); @@ -1092,8 +1092,8 @@ guestfs_launch (guestfs_h *g) * syntax, or if...