; params.checkpointed_stream = 0;
> ret = libxl_domain_create_restore(cfg->ctx, _config, ,
>restore_fd, , NULL,
>
ACK
This fixes integration testing that Xen Project does with libvirt and
Xen so it would be nice to get in for 1.3.3.
--
Doug Golds
Hi Michal,
I sent the below message to the libvirt mailing list back on June 11th
2013 but never received a response from anyone. I just checked and the
tag is still missing. Can you possibly push this tag as it looks like
you are maintaining this project now.
Thank you.
--
Doug Goldstein
On Mar 28, 2014, at 11:32 AM, Cédric Bosdonnat cbosdon...@suse.com wrote:
From: Cédric Bosdonnat cedric.bosdon...@free.fr
pm-is-supported is the only thing needed in pm-utils, better get rid of
it since systemd is heavily used for libvirt.
---
src/util/virnodesuspend.c | 34
On Jan 15, 2014, at 10:33 AM, Francesco Romani from...@redhat.com wrote:
spice-server offers an API to disable file transfer messages
on the agent channel between the client and the guest.
This is supported in qemu through the disable-agent-file-xfer option.
This patch exposes this option
On Jan 14, 2014, at 2:09 PM, Nehal J Wani nehaljw.k...@gmail.com wrote:
Introduce helper program to catch events from dnsmasq and maintain a custom
lease file per network. It supports DHCPv4 and DHCPv6. The file is saved as
interface-name.status.
The format of each lease is:
expiry-time
The exception is raised from the variable 'e', which was undeclared in
this context. Used code that is compatible with old and new Python
versions.
---
libvirt-override-virStream.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/libvirt-override-virStream.py b/libvirt-override-virStream.py
at the moment have anyone to test them. So if you're interested
in testing them I can provide you with an alternate brew install
command and we can maybe land some other fixes.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
On Tue, Dec 31, 2013 at 8:26 AM, Eric Blake ebl...@redhat.com wrote:
On 12/29/2013 03:52 PM, Doug Goldstein wrote:
We brought over use of the __GNUC_PREREQ macro from libvirt but didn't
bring over the definition of it. This brings over the macro from libvirt
sources.
---
libvirt-utils.h | 9
something similar with the compat
attribute added for qcow2 for the versioning that way things are
explicitly stated rather than implicitly switching versions on us.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
://people.freebsd.org/~jgh | The Power to Serve
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
We brought over use of the __GNUC_PREREQ macro from libvirt but didn't
bring over the definition of it. This brings over the macro from libvirt
sources.
---
libvirt-utils.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/libvirt-utils.h b/libvirt-utils.h
index f55be7b..add7553 100644
On Thu, Dec 12, 2013 at 4:29 PM, Eric Blake ebl...@redhat.com wrote:
On 12/11/2013 08:43 PM, Doug Goldstein wrote:
The method getVersion() retrieves the version of the libvirt library
that the binaries are linked against but there is no way to retrieve the
version of the bindings you are using
be in 2014).
I'll help you out and get started on this. Family is in town around
the holidays so no promises I'll get them all done if its not too
trivial.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
On Sat, Dec 28, 2013 at 3:18 PM, Doug Goldstein car...@gentoo.org wrote:
On Tue, Dec 24, 2013 at 12:02 AM, Eric Blake ebl...@redhat.com wrote:
On 12/20/2013 11:36 AM, Jim Fehlig wrote:
Dario Faggioli wrote:
by, in libxlDomainGetNumaParameters(), calling libxl_bitmap_init() as soon
On Dec 24, 2013, at 2:13 AM, Umar Draz unix...@gmail.com wrote:
Hi
I am trying to set Metada of running virtual machine, but its giving me an
error.
Thanks for taking the time to report a potential issue. When you report
potential issues please make sure to include the version of libvirt
there already and just Gluster was missing.
Wouldn't be better to say storage: show gluster option in virsh
--version=long?
I realize I'm nitpicking the commit message/subject, the code is fine
so ACK from that stand point.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https
The method getVersion() retrieves the version of the libvirt library
that the binaries are linked against but there is no way to retrieve the
version of the bindings you are using. In the future if we support new
APIs in Python that don't rely on features in the library there needs to
be a way for
://www.redhat.com/mailman/listinfo/libvir-list
ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
for 'events' (libvirt
--
1.8.3.1
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
+ cygvirtmod_qemu,
+# endif
+ libvirtQemuMethods);
}
+#endif /* ! PY_MAJOR_VERSION 2 */
--
1.8.3.1
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir
-list
Don't have a setup to test, but in principle the code makes sense.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
py_retval;
}
--
1.8.3.1
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
/libvir-list
Some minor nits but overall looks ok. I'll double check it for any
leaks with more context after I review the rest of the series.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
);
PyObject * libvirt_ulongWrap(unsigned long val);
PyObject * libvirt_longlongWrap(long long val);
--
1.8.3.1
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
)PyInt_AsLong(PyList_GetItem(pyobj_list, i));
+libvirt_uintUnwrap(PyList_GetItem(pyobj_list, i), (keycodes[i]));
}
LIBVIRT_BEGIN_ALLOW_THREADS;
--
1.8.3.1
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK.
--
Doug
.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
} else if (PyFloat_Check(value)) {
type = VIR_TYPED_PARAM_DOUBLE;
}
--
1.8.3.1
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
map to a class goes into the
--
1.8.3.1
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
https://www.redhat.com/mailman/listinfo/libvir-list
ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
I don't really know the format specifier but it seems reasonably
correct that O is object and then you're unwrapping it which makes
sense so ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https
Python 3 no longer accepts 'except Exception, e:' as valid while Python
2.4 does not accept the new syntax 'except Exception as e:' so this uses
a fall back method that is compatible with both.
---
libvirt-override-virStream.py | 3 ++-
libvirt-override.py | 8 ++--
2 files changed,
The 'print' statement no longer exists in Python 3 and now must be
called as a function. This is compatible down to Python 2.4 as we are
not using any special syntax of the function.
---
sanitytest.py | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/sanitytest.py
On Thu, Dec 5, 2013 at 9:03 AM, Jim Fehlig jfeh...@suse.com wrote:
Jim Fehlig wrote:
The libvirt-daemon package contains several hypervisor-specific files,
directories, and script, which can be problematic when building the
package with multiple hypervisor support, e.g. both QEMU and Xen.
%
(function_post[name]))
--
1.8.3.1
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman
Turns out Dan and I both started working on Python 3 support and we
talked about some changes to his patchset and these are the result
of that conversation. This really belongs in the middle of his patchset
but he's pushed the first part already so this is on top of master.
Doug Goldstein (3
Use a syntax for exception handling that works in both Python 2 and
Python 3. The new syntax is 'except Exception as e:' but this does not
work in older Pythons so we use the most compatible way by just catching
the exception and getting the type and the exception value after the
fact.
---
Use a syntax for exception handling that works in both Python 2 and
Python 3
---
generator.py | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/generator.py b/generator.py
index 0717624..009d3e1 100755
--- a/generator.py
+++ b/generator.py
@@ -818,7 +818,8 @@ def
Drop the unused exception variable in setup.py. This has the benefit
of dropping syntax that is not valid with Python 3.
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 561157c..24d4cf2 100755
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,7
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
])
--
1.8.3.1
ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
))
fd.write(\n)
--
1.8.3.1
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
in function_post:
classes.write(%s\n %
(function_post[name]))
--
1.8.3.1
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK.
--
Doug Goldstein
--
libvir
,
libvirt])
-except DistutilsExecError,e:
+except DistutilsExecError:
have_libvirt_lxc=False
def get_pkgconfig_data(args, mod, required=True):
--
1.8.3.1
ACK.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
the
examples, which you may want to do as well.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
://www.redhat.com/mailman/listinfo/libvir-list
My patch actually uses myprint and provides that function which just
calls the built in function when possible but provides one when not
possible. Would we want to go with that approach instead?
--
Doug Goldstein
--
libvir-list mailing list
libvir-list
On Tue, Dec 3, 2013 at 10:53 AM, Daniel P. Berrange berra...@redhat.com wrote:
On Tue, Dec 03, 2013 at 10:44:07AM -0600, Doug Goldstein wrote:
On Tue, Dec 3, 2013 at 10:36 AM, Daniel P. Berrange berra...@redhat.com
wrote:
From: Daniel P. Berrange berra...@redhat.com
The 'print' method
())
+if enumvals is not None:
+enumvals.sort(key=lambda x: x[0])
+for type,enum in enumvals:
classes.write(# %s\n % type)
items = list(enum.items())
items.sort(key=lambda i: int(i[1]))
--
1.8.3.1
ACK.
--
Doug Goldstein
--
libvir-list mailing list
When setup.py is kicked off with a python interpreter other than the
system 'python', (e.g. python2.7 setup.py build) the build process would
switch to 'python' and not use python2.7 as requested by the user. We
should always respect the user requested python interpreter and use it.
---
setup.py
(\No module named\):\n)
fd.write(raise lib_e\n\n)
--
1.8.3.1
We'll want to use sys.exc_info() for the exceptions here so older Python compat.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
: cmp(int(i1[1]),int(i2[1])))
+items.sort(key=lambda i: int(i[1]))
for name,value in items:
fd.write(%s = %s\n % (name,value))
fd.write(\n)
--
1.8.3.1
Visually makes sense. Have not run it locally but ACK from a visual stand point.
--
Doug Goldstein
On Tue, Dec 3, 2013 at 11:23 AM, Eric Blake ebl...@redhat.com wrote:
On 12/03/2013 10:11 AM, Doug Goldstein wrote:
When setup.py is kicked off with a python interpreter other than the
system 'python', (e.g. python2.7 setup.py build) the build process would
switch to 'python' and not use
.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
On Nov 27, 2013, at 6:14 AM, Daniel P. Berrange berra...@redhat.com wrote:
From: Daniel P. Berrange berra...@redhat.com
Older libvirt has files named 'events' and 'virterror'
rather than 'virevent' and 'virerror'. This is visible
in the API XML files. We must look for both names to
On Nov 27, 2013, at 6:19 AM, Daniel P. Berrange berra...@redhat.com wrote:
On Tue, Nov 26, 2013 at 01:16:24PM -0600, Doug Goldstein wrote:
On Tue, Nov 26, 2013 at 12:32 PM, Daniel P. Berrange
berra...@redhat.com wrote:
From: Daniel P. Berrange berra...@redhat.com
Validate that every
All other code always calls the methods from the mod rather than using
the python wrapper so this matches the state of all other callers.
---
libvirt-override.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libvirt-override.py b/libvirt-override.py
index ccfec48..87996f8
are a bit cleaner.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
as is as
note that its broken or fix it).
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
On Tue, Nov 19, 2013 at 1:36 PM, Doug Goldstein car...@cardoe.com wrote:
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
This change must be dropped with latest libvirt.git master.
--
Doug Goldstein
--
libvir-list mailing list
libvir-list@redhat.com
https
On Thu, Nov 21, 2013 at 8:14 AM, Doug Goldstein car...@cardoe.com wrote:
On Tue, Nov 19, 2013 at 1:36 PM, Doug Goldstein car...@cardoe.com wrote:
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
This change must be dropped with latest libvirt.git master.
Nvm. Ignore
On Tue, Nov 19, 2013 at 4:17 PM, Doug Goldstein car...@cardoe.com wrote:
In commit de51dc9c9, we removed virConnectGetCPUModelNames from
skip_impl but without this the module will always generate a symbol for
libvirt_virConnectGetCPUModelNames which we don't always want.
CC: Giuseppe
In anticipation of the python bindings moving to their own repo and in
an effort to preserve history, move the examples within the python/
directory.
---
Makefile.am| 3 +--
configure.ac
On Tue, Nov 19, 2013 at 9:19 AM, Eric Blake ebl...@redhat.com wrote:
On 11/18/2013 03:44 PM, Doug Goldstein wrote:
---
libvirt-override.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
ACK.
+#if LIBVIR_CHECK_VERSION(1,0,0)
Style-wise, I would have written
On Tue, Nov 19, 2013 at 9:35 AM, Eric Blake ebl...@redhat.com wrote:
On 11/18/2013 03:44 PM, Doug Goldstein wrote:
The functions virDomainMigrate3 and virDomainMigrateToURI3 were not
added to libvirt until v1.1.0.
Is there a method to how you picked which functions to work around? It
would
The case label for VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED did not have its
own break statement but relied on falling through which we probably
don't want.
---
python/libvirt-override.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/python/libvirt-override.c b/python/libvirt-override.c
index
On Tue, Nov 19, 2013 at 10:39 AM, Martin Kletzander mklet...@redhat.com wrote:
On Tue, Nov 19, 2013 at 10:32:01AM -0600, Doug Goldstein wrote:
The case label for VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED did not have its
own break statement but relied on falling through which we probably
don't want
From: Daniel P. Berrange berra...@redhat.com
Signed-off-by: Daniel P. Berrange berra...@redhat.com
---
libvirt-utils.h | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-utils.h b/libvirt-utils.h
index bec7346..aed64e6 100644
--- a/libvirt-utils.h
+++ b/libvirt-utils.h
@@ -24,4
virTypedParamsClear() and virTypedParamsFree() were introduced in
libvirt 1.0.2. In an effort to keep the code clean bring these two
functions to libvirt-python if we're building against a version of
libvirt that's older than 1.0.2
---
libvirt-utils.c | 45
From: Daniel P. Berrange berra...@redhat.com
Import ATTRIBUTE_RETURN_CHECK, ATTRIBUTE_UNUSED
ATTRIBUTE_NONNULL macros
Signed-off-by: Daniel P. Berrange berra...@redhat.com
---
libvirt-utils.h | 52
1 file changed, 52 insertions(+)
diff
From: Daniel P. Berrange berra...@redhat.com
Change the generator.py to
- Take XML API file names on command line
- Generate data in build/ directory instead of cwd
---
generator.py | 69 ++--
1 file changed, 25 insertions(+), 44
From: Daniel P. Berrange berra...@redhat.com
Import the macro for safely closing file descriptors
Signed-off-by: Daniel P. Berrange berra...@redhat.com
---
libvirt-utils.c | 19 +++
libvirt-utils.h | 7 +++
2 files changed, 26 insertions(+)
diff --git a/libvirt-utils.c
From: Daniel P. Berrange berra...@redhat.com
The generated libvirt.py modules will be in the build/
directory, so santitytest.py must use that directory.
Signed-off-by: Daniel P. Berrange berra...@redhat.com
---
sanitytest.py | 4
1 file changed, 4 insertions(+)
diff --git a/sanitytest.py
From: Daniel P. Berrange berra...@redhat.com
Import the libvirt memory allocation functions, stripping the OOM
testing and error reporting pieces.
Signed-off-by: Daniel P. Berrange berra...@redhat.com
---
libvirt-lxc-override.c | 1 +
libvirt-override.c | 106
Create an array of modules to be built to allow for flexibility to
enable or disable some modules in the future and allow for additional
modules to be added easily
---
setup.py | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index
Add LIBVIR_CHECK_VERSION from libvirt upstream so that we can check the
version of the library we are compiling against and support a range of
libvirt versions. The macro was added to libvirt in 1.2.0 so we must
provide it if its not defined.
---
libvirt-utils.h | 10 ++
1 file changed,
Since we don't always want to build all the modules, and there might be
more modules added in the future but we want to retain backwards
compatibility with older libvirts, change generator.py to be called once
per module instead of with all modules at once.
---
generator.py | 24
From: Daniel P. Berrange berra...@redhat.com
We're no longer using automake, so config.h files are not
required. Also remove of all libvirt internal util header
files. Reference generated header files in build/ subdir.
Signed-off-by: Daniel P. Berrange berra...@redhat.com
---
The functions that the LXC module wraps did not appear until 1.0.2 so we
can't build the module unless we're building against 1.0.2 or newer.
---
setup.py | 34 +++---
1 file changed, 23 insertions(+), 11 deletions(-)
diff --git a/setup.py b/setup.py
index
From: Daniel P. Berrange berra...@redhat.com
Signed-off-by: Daniel P. Berrange berra...@redhat.com
---
sanitytest.py | 0
1 file changed, 0 insertions(+), 0 deletions(-)
mode change 100644 = 100755 sanitytest.py
diff --git a/sanitytest.py b/sanitytest.py
old mode 100644
new mode 100755
--
---
libvirt-override.c | 24
1 file changed, 24 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index 3cc6f22..3602cd9 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -3032,6 +3032,7 @@ libvirt_virConnectListDefinedNetworks(PyObject *self
virDomainCreateXMLWithFiles() and virDomainCreateWithFiles() were not
added to libvirt until 1.1.1
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index 6bd5138..32d1a4a 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
The functions virDomainMigrate3 and virDomainMigrateToURI3 were not
added to libvirt until v1.1.0.
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index 6c5d55f..6bd5138 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index dc1297e..90e6451 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -2656,6 +2656,7 @@ cleanup:
}
#endif /* LIBVIR_CHECK_VERSION(0, 9, 7) */
+#if
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index dbf45cc..cccfac5 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -4766,6 +4766,7 @@ cleanup:
}
#endif /* LIBVIR_CHECK_VERSION(0, 9, 8) */
+#if
---
libvirt-override.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/libvirt-override.c b/libvirt-override.c
index 7e167ee..951ad29 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -419,12 +419,14 @@ cleanup:
*/
static int
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index 3602cd9..4237cb7 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -6967,6 +6967,7 @@ cleanup:
return py_retval;
}
+#if LIBVIR_CHECK_VERSION(0, 10, 2)
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index bcc2499..0464f49 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -2283,6 +2283,7 @@ libvirt_virConnectGetVersion(PyObject *self
ATTRIBUTE_UNUSED,
return
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index ad1ff4a..6c5d55f 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -6789,6 +6789,7 @@ libvirt_virDomainSendKey(PyObject *self ATTRIBUTE_UNUSED,
return
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index 7ab9013..dbf45cc 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -526,6 +526,7 @@ cleanup:
return ret;
}
+#if LIBVIR_CHECK_VERSION(0, 9, 10)
static
---
libvirt-override.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libvirt-override.c b/libvirt-override.c
index 0464f49..570918c 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -167,8 +167,7 @@ setPyVirTypedParameter(PyObject *info,
}
if
build system
Doug Goldstein (30):
Import LIBVIR_CHECK_VERSION macro from libvirt
Import some virTypedParams* APIs from libvirt
Add missing attributes to setup.py
Break generator.py to be called per module
Create array of modules to be built
Don't build LXC module when building less than
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index 051b7cd..7ab9013 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -1264,6 +1264,7 @@ cleanup:
return ret;
}
+#if LIBVIR_CHECK_VERSION(0, 9, 9)
static
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index 4bbb499..dc1297e 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -2400,6 +2400,7 @@ libvirt_virConnectListDomainsID(PyObject *self
ATTRIBUTE_UNUSED,
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index aff1131..7e167ee 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -6260,6 +6260,7 @@
libvirt_virConnectDomainEventBalloonChangeCallback(virConnectPtr conn
From: Daniel P. Berrange berra...@redhat.com
Signed-off-by: Daniel P. Berrange berra...@redhat.com
---
libvirt-override.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libvirt-override.c b/libvirt-override.c
index d8bbbab..816ef01 100644
--- a/libvirt-override.c
+++
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index 32d1a4a..bcc2499 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -6314,6 +6314,7 @@
libvirt_virConnectDomainEventPMSuspendDiskCallback(virConnectPtr conn
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index 9740d1f..4aaef4e 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -4637,6 +4637,7 @@ error:
return NULL;
}
+#if LIBVIR_CHECK_VERSION(0, 9, 8)
static
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index 06956f4..ad1ff4a 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -4564,6 +4564,7 @@ libvirt_virDomainGetJobInfo(PyObject *self
ATTRIBUTE_UNUSED, PyObject
setup.py needs a URL attribute that contains the project's website which
is set to http://libvirt.org as well as information about a maintainer
which is set to 'Libvirt Maintainers' and points to the libvirt mailing
list.
---
setup.py | 3 +++
1 file changed, 3 insertions(+)
diff --git
---
libvirt-override.c | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt-override.c b/libvirt-override.c
index 90e6451..82bbd84 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -6504,6 +6504,7 @@ libvirt_virConnectCloseCallbackDispatch(virConnectPtr
conn
1 - 100 of 570 matches
Mail list logo