[Libguestfs] [PATCH] fuse: fix build when not available

2018-06-15 Thread Pino Toscano
The 'localmountpoint' variable in the handle is available only when building with FUSE support, so guard it in a proper #ifdef block. Fixes commit 296370fb86e96eec095d86faf6de8f532395ea54. --- lib/handle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/handle.c b/lib/handle.c index

[Libguestfs] [PATCH] v2v: -o libvirt: Don't write only without (RHBZ#1591789).

2018-06-15 Thread Richard W.M. Jones
Avoids the libvirt error: error: XML error: CPU vendor specified without CPU model --- v2v/create_libvirt_xml.ml | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/v2v/create_libvirt_xml.ml b/v2v/create_libvirt_xml.ml index 582419f00..fbe90eeaa 100644 ---

[Libguestfs] [PATCH v2] lib: Convert all drive socket parameters to an absolute path (RHBZ#1588451).

2018-06-15 Thread Richard W.M. Jones
Also fix two tests which assumed that you could add a non-existent socket. --- fish/test-add-uri.sh | 16 lib/drives.c | 14 +- tests/disks/test-qemu-drive.sh | 19 ++- 3 files changed, 39 insertions(+), 10 deletions(-)

Re: [Libguestfs] [PATCH] fuse: fix build when not available

2018-06-15 Thread Richard W.M. Jones
On Fri, Jun 15, 2018 at 12:44:04PM +0200, Pino Toscano wrote: > The 'localmountpoint' variable in the handle is available only when > building with FUSE support, so guard it in a proper #ifdef block. > > Fixes commit 296370fb86e96eec095d86faf6de8f532395ea54. > --- > lib/handle.c | 2 ++ > 1 file

Re: [Libguestfs] [PATCH] v2v: rhv-upload: Disable Nagle algorithm

2018-06-15 Thread Richard W.M. Jones
On Fri, Jun 15, 2018 at 10:57:32PM +0300, Nir Soffer wrote: > When sending a PUT request, the http header may be sent in the first > packet when calling con.endheaders(). When we send the first chunk, the > kernel may delay the send because the header packet was not acked yet. > > We have seen