search for: msg_next_seri

Displaying 10 results from an estimated 10 matches for "msg_next_seri".

Did you mean: msg_next_serial
2012 Mar 08
1
[PATCH] Fix the default value of "pgroup".
...estfs_set_pgroup (g, 1); + guestfs_set_pgroup (g, 0); } /* Old-style -i syntax? Since -a/-d/-N and -i was disallowed diff --git a/src/guestfs.c b/src/guestfs.c index 3493d79..2ff506b 100644 --- a/src/guestfs.c +++ b/src/guestfs.c @@ -143,6 +143,9 @@ guestfs_create (void) */ g->msg_next_serial = 0x00123400; + /* Default is 'false' to allow users to interrupt the subprocess. */ + g->pgroup = 0; + /* Default is uniprocessor appliance. */ g->smp = 1; -- 1.7.7.6
2009 Aug 18
8
src/ is now warning-free, too
These patches first make src/ warning free, and then turn on the strict warning options. 75 0001-build-suppress-an-ignored-write-return-value-warning.patch 38 0002-build-suppress-an-ignored-dup-return-value-warning.patch 27 0003-generator.ml-suppress-signed-unsigned-compare-warnin.patch 48 0004-build-don-t-perform-arithmetic-on-void-pointers.patch 30
2013 Mar 07
4
[PATCH 0/4] Small refactorings of the protocol layer.
As the start of work to add remote support, I'm taking a close look at the protocol layer in the library. These are some small cleanups. Rich.
2016 Jan 09
0
[PATCH] build: Require qemu >= 1.3.0 and yajl.
...Use new (JSON) or old (human) qemu-img info parser. */ - int qemu_img_info_parser; -#define QEMU_IMG_INFO_UNKNOWN_PARSER 0 -#define QEMU_IMG_INFO_NEW_PARSER 1 -#define QEMU_IMG_INFO_OLD_PARSER 2 - /*** Protocol. ***/ struct connection *conn; /* Connection to appliance. */ int msg_next_serial; diff --git a/src/info.c b/src/info.c index 616ef50..9791730 100644 --- a/src/info.c +++ b/src/info.c @@ -38,92 +38,31 @@ #include <sys/resource.h> #endif -#if HAVE_YAJL #include <yajl/yajl_tree.h> -#endif #include "guestfs.h" #include "guestfs-internal.h"...
2011 Mar 10
1
[PATCH for discussion only] New event API (RHBZ#664558).
...void * launch_done_cb_data; - guestfs_close_cb close_cb; - void * close_cb_data; - guestfs_progress_cb progress_cb; - void * progress_cb_data; + + /* Events. */ + struct event *events; + size_t nr_events; int msg_next_serial; @@ -289,6 +295,9 @@ extern int guestfs___feature_available (guestfs_h *g, const char *feature); extern void guestfs___free_string_list (char **); extern int guestfs___checkpoint_cmdline (guestfs_h *g); extern void guestfs___rollback_cmdline (guestfs_h *g, int pos); +extern void guestfs___ca...
2010 Aug 02
5
[PATCH v3 0/5] Inspection code in C
The first three patches were posted previously: https://www.redhat.com/archives/libguestfs/2010-July/msg00082.html The last two patches in this series change guestfish -i to use this new code. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to
2010 Jul 29
4
[PATCH 0/3] Inspection code in C
These three patches (two were previously posted) can do simple operating system inspection in C. Example of use: ><fs> add-ro rhel55.img ><fs> run ><fs> inspect-os /dev/VolGroup00/LogVol00 ><fs> inspect-get-type /dev/VolGroup00/LogVol00 linux ><fs> inspect-get-distro /dev/VolGroup00/LogVol00 rhel ><fs> inspect-get-arch
2010 Aug 17
8
[PATCH v4 0/8] Inspection code in C
Previously discussed here: https://www.redhat.com/archives/libguestfs/2010-August/msg00002.html -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/
2010 Aug 31
13
[PATCH v2] Add progress bars
This is an updated and extended version of the original patch: https://www.redhat.com/archives/libguestfs/2010-August/msg00163.html This adds OCaml and Perl bindings (both tested), support for progress bars in virt-resize, and adds progress notifications to a number of the simpler commands. Still to do is to add progress messages to more commands. There are still a few commands which would be
2013 Mar 07
3
[PATCH 0/3] protocol: Abstract out socket operations.
I've been taking a long hard look at the protocol layer. It has evolved over a long time without any particular direction, and the result is, to say the least, not very organized. These patches take a first step at cleaning up the mess by abstracting out socket operations from the rest of the code. The purpose of this is to allow us to slot in a different connection layer under the