Displaying 8 results from an estimated 8 matches for "min_libvirt_version".
2014 Mar 27
3
[PATCH 0/2] launch: libvirt: Use libvirt to set up the user network.
Use libvirt to set up the user network instead of a custom qemu
argument.
Note this requires a non-upstream patch being discussed on the libvirt
mailing list at the moment.
https://bugzilla.redhat.com/show_bug.cgi?id=1075520#c6
Rich.
2015 Nov 09
2
[PATCH 1/2] lib: enable the libvirt code consistently everywhere
...tfs-internal.h
index bc03ccc..a9f2f0d 100644
--- a/src/guestfs-internal.h
+++ b/src/guestfs-internal.h
@@ -38,12 +38,11 @@
MIN_LIBVIRT_MINOR * 1000 + \
MIN_LIBVIRT_MICRO)
-#if defined(HAVE_LIBVIRT) && LIBVIR_VERSION_NUMBER >= MIN_LIBVIRT_VERSION
-#define HAVE_LIBVIRT_BACKEND
-#endif
-
#ifdef HAVE_LIBVIRT
#include <libvirt/libvirt.h>
+#if LIBVIR_VERSION_NUMBER >= MIN_LIBVIRT_VERSION
+#define HAVE_LIBVIRT_BACKEND
+#endif
#endif
#include "hash.h"
--
2.1.0
2016 May 17
0
[PATCH 1/2] src: start unifying version handling
...on, NULL, NULL);
- debug (g, "libvirt version = %lu (%lu.%lu.%lu)",
- data->libvirt_version,
- data->libvirt_version / 1000000UL,
- data->libvirt_version / 1000UL % 1000UL,
- data->libvirt_version % 1000UL);
- if (data->libvirt_version < MIN_LIBVIRT_VERSION) {
+ virGetVersion (&version_number, NULL, NULL);
+ guestfs_int_version_from_libvirt (&data->libvirt_version, version_number);
+ debug (g, "libvirt version = %lu (%d.%d.%d)",
+ version_number,
+ data->libvirt_version.v_major,
+ data->libvirt_ver...
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...all.
diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c
index 8560aa3..1a690e8 100644
--- a/src/launch-libvirt.c
+++ b/src/launch-libvirt.c
@@ -72,11 +72,11 @@
#define MIN_LIBVIRT_MAJOR 0
#define MIN_LIBVIRT_MINOR 10
#define MIN_LIBVIRT_MICRO 2 /* XXX patches in > 2 already */
-#define MIN_LIBVIRT_VERSION (MIN_LIBVIRT_MAJOR * 1000000 + \
- MIN_LIBVIRT_MINOR * 1000 + \
+#define MIN_LIBVIRT_VERSION (MIN_LIBVIRT_MAJOR * 1000000 + \
+ MIN_LIBVIRT_MINOR * 1000 + \
MIN_LIBVIRT_MICRO)
-#if defined(HAVE_LIBVIRT) &&a...
2014 Feb 13
3
Libguestfs (1.22.6) driver/changes for mingw/win32
Hi,
I attached the changes I made to a vanilla libguestfs-1.22.6 in order to
make it work in mingw/win32.
Added is also the patch required to make QEMU compatible (add a command to
QMP that lists the supported devices (the regilat way you do it print it to
stderr, which is difficult to redirect in win32)).
This is done on behalf of Intel Corp.
Thanks,
Or (oberon in irc)
2016 May 17
3
[PATCH 0/2] src: introduce an helper version struct
Hi,
this adds an helper version struct, and uses it in the backends (for the
libvirt and qemu versions) and inspection code. This also moves common
code to that, so it is not repeated in many places.
This should help with the small refactoring proposed with
https://www.redhat.com/archives/libguestfs/2016-May/msg00070.html
Thanks,
Pino Toscano (2):
src: start unifying version handling
2016 May 18
3
[PATCH v2 0/2] src: introduce an helper version struct
Hi,
this adds an helper version struct, and uses it in the backends (for the
libvirt and qemu versions) and inspection code. This also moves common
code to that, so it is not repeated in many places.
This should help with the small refactoring proposed with
https://www.redhat.com/archives/libguestfs/2016-May/msg00070.html
Thanks,
Pino Toscano (2):
src: start unifying version handling
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste.
---
align/scan.c | 35 ++++++++++---------
cat/cat.c | 39 +++++++++++----------
cat/filesystems.c | 69 +++++++++++++++++++-------------------
cat/log.c | 35 ++++++++++---------
cat/ls.c | 61 +++++++++++++++++----------------
df/main.c | 43 ++++++++++++------------
diff/diff.c | 67