[Libguestfs] [PATCH 1/4] ocaml: Add -Wno-missing-field-initializers to avoid a warning.

2012-01-18 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com --- configure.ac |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index fa97479..6e42423 100644 --- a/configure.ac +++ b/configure.ac @@ -141,6 +141,10 @@ if test $gl_gcc_warnings = yes; then #

[Libguestfs] [PATCH 3/4] ocaml: Use automake to build the C part of the bindings.

2012-01-18 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com By arranging the C part of the bindings into a library, we can get automake to build it instead of using $(CC) directly. --- ocaml/Makefile.am | 28 +++- 1 files changed, 15 insertions(+), 13 deletions(-) diff --git

Re: [Libguestfs] [PATCH] New tool: virt-format

2012-01-18 Thread Paolo Bonzini
On 01/17/2012 07:19 PM, Török Edwin wrote: I don't know if it is possible to pass the SSD erase block size up through the virt stack. I was thinking more about a command-line flag to specify alignment. My SSD reports 512 bytes as both logical and physical sector size, and thats a physical

Re: [Libguestfs] [PATCH] New tool: virt-format

2012-01-18 Thread Török Edwin
On 01/18/2012 03:12 PM, Paolo Bonzini wrote: On 01/17/2012 07:19 PM, Török Edwin wrote: I don't know if it is possible to pass the SSD erase block size up through the virt stack. I was thinking more about a command-line flag to specify alignment. My SSD reports 512 bytes as both logical and

Re: [Libguestfs] [PATCH 3/4] ocaml: Use automake to build the C part of the bindings.

2012-01-18 Thread Jim Meyering
Richard W.M. Jones wrote: By arranging the C part of the bindings into a library, we can get automake to build it instead of using $(CC) directly. diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am ... -AM_CPPFLAGS = -I$(top_builddir) -I$(OCAMLLIB) -I$(top_srcdir)/ocaml \ -

Re: [Libguestfs] [PATCH 3/4] ocaml: Use automake to build the C part of the bindings.

2012-01-18 Thread Richard W.M. Jones
On Wed, Jan 18, 2012 at 05:15:16PM +0100, Jim Meyering wrote: Richard W.M. Jones wrote: By arranging the C part of the bindings into a library, we can get automake to build it instead of using $(CC) directly. diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am ... -AM_CPPFLAGS =

Re: [Libguestfs] [PATCH 4/4] lib: Use -fvisibilty=hidden by default; only ABI symbols are now visible.

2012-01-18 Thread Jim Meyering
Richard W.M. Jones wrote: From: Richard W.M. Jones rjo...@redhat.com http://gcc.gnu.org/wiki/Visibility --- configure.ac |6 generator/generator_c.ml | 70 - src/Makefile.am |8 +++-- 3 files changed, 48

Re: [Libguestfs] [PATCH 4/4] lib: Use -fvisibilty=hidden by default; only ABI symbols are now visible.

2012-01-18 Thread Richard W.M. Jones
On Wed, Jan 18, 2012 at 06:47:25PM +0100, Jim Meyering wrote: diff --git a/src/Makefile.am b/src/Makefile.am index 28a1b92..b91ffc1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -55,7 +55,8 @@ lib_LTLIBRARIES = libguestfs.la # This convenience library is solely to compile its