On 03/29/2016 07:11 PM, John Ferlan wrote:
> v1: http://www.redhat.com/archives/libvir-list/2016-March/msg01206.html
>
> Patch 1 is already ACK'd. I assume this code won't go into 1.3.3, but
> would hopefully be early in 1.3.4 and I didn't want to break up the
> capability bits across
On 4/5/16 9:20 AM, Wei Liu wrote:
> In the latest libxenlight code, libxl_domain_create_restore accepts a
> new argument. Update libvirt's libxl driver for that. Use the macro
> provided by libxenlight to detect which version should be used.
>
> The new parameter (send_back_fd) is set to -1
[Thanks to Dan Berrangé for doing the analysis of this one]
I was investigating a 200+ millisecond delay when libvirt starts a
qemu guest. You can see the traces here:
http://oirase.annexia.org/tmp/libvirt.log
http://oirase.annexia.org/tmp/libvirtd.log
The delay happens at around
On Wed, Apr 06, 2016 at 09:53:06AM +0200, Jiri Denemark wrote:
> On Tue, Apr 05, 2016 at 18:16:29 +0200, Guido Günther wrote:
> > >From 4e302ea482d58c5ae034f85ea27d0318cb0b59c5 Mon Sep 17 00:00:00 2001
> > Message-Id:
> > <4e302ea482d58c5ae034f85ea27d0318cb0b59c5.1459872920.git@sigxcpu.org>
>
On Wed, Apr 06, 2016 at 05:52:49PM +0200, Peter Krempa wrote:
> For device hotplug, the new alias ID needs to be checked in the list
> rather than using the count of devices. Unplugging a device that is not
> last in the array will make further hotplug impossible due to alias
> collision.
>
>
On Wed, Apr 06, 2016 at 05:52:48PM +0200, Peter Krempa wrote:
> For device hotplug, the new alias ID needs to be checked in the list
> rather than using the count of devices. Unplugging a device that is not
> last in the array will make further hotplug impossible due to alias
> collision.
>
>
---
src/qemu/qemu_driver.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index a00268b..8b9801a 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -11471,7 +11471,6 @@ qemuDomainMemoryStats(virDomainPtr dom,
No need to store failure and re-check right away.
---
src/qemu/qemu_process.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index 4911c1d..a8c5139 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@
The change that made qemu not add the memballoon by default happened
prior to 0.12.0. Additionaly the comment was misleading due to the code
that was added below. Since we always need to add a balloon on the
commandline drop the comment.
---
src/qemu/qemu_command.c | 7 +--
1 file changed, 1
Rather than trying some magic calculations on our side query the monitor
for the current size of the memory balloon both on hotplug and
hotunplug.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1220702
---
src/qemu/qemu_hotplug.c | 15 ++-
src/qemu/qemu_process.c | 2 +-
Now that there is just one format of the memory balloon command line
used the code can be merged into a single function.
Additionally with some tweaks to the control flow the code is easier to
read.
---
src/qemu/qemu_command.c | 76 +++--
---
src/qemu/qemu_command.c | 3 +--
src/qemu/qemu_domain.c | 11 +--
src/qemu/qemu_domain.h | 1 +
src/qemu/qemu_driver.c | 12
src/qemu/qemu_process.c | 9 +++--
5 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/qemu/qemu_command.c
The flag is now unused and all qemus supported by libvirt already
support it.
---
src/qemu/qemu_capabilities.c | 3 ---
src/qemu/qemu_capabilities.h | 2 +-
tests/qemucapabilitiesdata/caps_1.2.2-1.caps | 1 -
tests/qemucapabilitiesdata/caps_1.3.1-1.caps | 1 -
Clean up some of the memory balloon code and fix the calculation of size after
hotplug.
Peter Krempa (8):
qemu: command: Assume QEMU_CAPS_DEVICE when building memballoon args
qemu: caps: Deprecate QEMU_CAPS_BALLOON
qemu: command: Drop obsolete comment
qemu: command: Refactor memballoon
---
src/qemu/qemu_command.c | 19 ---
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index a6afaec..bcd2408 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -3452,6 +3452,7 @@
On Mon, Apr 04, 2016 at 03:20:23PM +0200, Pavel Hrdina wrote:
> Signed-off-by: Pavel Hrdina
> ---
> src/conf/domain_conf.c | 100
> ++---
> 1 file changed, 45 insertions(+), 55 deletions(-)
> @@ -10846,17 +10845,19 @@
>
I messed up the original impl and then copied it to memory devices. Sigh.
Peter Krempa (2):
qemu: alias: Fix calculation of RNG device aliases
qemu: alias: Fix calculation of memory device aliases
src/qemu/qemu_alias.c | 47 +--
For device hotplug, the new alias ID needs to be checked in the list
rather than using the count of devices. Unplugging a device that is not
last in the array will make further hotplug impossible due to alias
collision.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1324551
---
For device hotplug, the new alias ID needs to be checked in the list
rather than using the count of devices. Unplugging a device that is not
last in the array will make further hotplug impossible due to alias
collision.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1324551
---
On Mon, Apr 04, 2016 at 03:20:22PM +0200, Pavel Hrdina wrote:
> Signed-off-by: Pavel Hrdina
> ---
> src/conf/domain_conf.c | 835
> +++--
> 1 file changed, 453 insertions(+), 382 deletions(-)
>
s/ParseXMLVnc/ParseXMLVNC/g
On Wed, 2016-03-30 at 16:29 -0400, John Ferlan wrote:
> On 03/21/2016 01:28 PM, Andrea Bolognani wrote:
> > diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
> > index 64007f0..23c3740 100644
> > --- a/src/qemu/qemu_capabilities.c
> > +++ b/src/qemu/qemu_capabilities.c
> >
On Mon, Apr 04, 2016 at 03:20:21PM +0200, Pavel Hrdina wrote:
> Refactor the listen parser to use only one loop.
>
> Signed-off-by: Pavel Hrdina
> ---
> src/conf/domain_conf.c | 117
> +
> 1 file changed, 50 insertions(+), 67
On Wed, 2016-03-30 at 16:12 -0400, John Ferlan wrote:
> On 03/21/2016 01:28 PM, Andrea Bolognani wrote:
> > +static int
> > +virQEMUCapsFillDomainFeatureGICCaps(virQEMUCapsPtr qemuCaps,
> > +virDomainCapsPtr domCaps)
> > +{
> > +virDomainCapsFeatureGICPtr
On Mon, Apr 04, 2016 at 03:20:18PM +0200, Pavel Hrdina wrote:
> After the test and qemu_process refactor now we can benefit from default
> listen address for spice and vnc in tests.
>
> Signed-off-by: Pavel Hrdina
> ---
>
On Mon, Apr 04, 2016 at 03:20:20PM +0200, Pavel Hrdina wrote:
> Move code, that parses graphics listens, to it's own function.
s/it's/its/
>
> Signed-off-by: Pavel Hrdina
> ---
> src/conf/domain_conf.c | 79
> ++
> 1 file
On Wed, 2016-03-30 at 16:10 -0400, John Ferlan wrote:
> > diff --git a/tests/domaincapsschemadata/domaincaps-qemu_1.6.50-1.xml
> > b/tests/domaincapsschemadata/domaincaps-
> > qemu_1.6.50-1.xml
> > index 37d2102..990661b 100644
> > --- a/tests/domaincapsschemadata/domaincaps-qemu_1.6.50-1.xml
> >
On Mon, Apr 04, 2016 at 10:19:58PM -0400, John Ferlan wrote:
> Commit id 'fb2bd208' essentially copied the qemuGetSecretString
> creating an libxlGetSecretString. Rather than have multiple copies
> of the same code, create src/secret/secret_util.{c,h} files and
> place the common function in
On 06/04/16 16:07, Ján Tomko wrote:
On Wed, Apr 06, 2016 at 03:57:17PM +0300, Olga Krishtal wrote:
On 06/04/16 15:11, Ján Tomko wrote:
On Wed, Apr 06, 2016 at 11:18:22AM +0300, Olga Krishtal wrote:
The thing is that if we changed the size, the content of root.hds and
had left the old
On Wed, Apr 06, 2016 at 03:57:17PM +0300, Olga Krishtal wrote:
> On 06/04/16 15:11, Ján Tomko wrote:
> > On Wed, Apr 06, 2016 at 11:18:22AM +0300, Olga Krishtal wrote:
> >> The thing is that if we changed the size, the content of root.hds and
> >> had left the old DiskDeskriptor.xml - it becomes
On 06/04/16 15:00, Ján Tomko wrote:
> There is a LIBVIRT_ADMIN_DEFAULT_URI environment variable
> which is honored by virAdmConnectOpen and documented
> in the virt-admin man page.
>
> LIBVIRT_DEFAULT_ADMIN_URI is undocumented and this is its
> only occurrence.
> ---
> tools/virt-admin.c | 4
There is a LIBVIRT_ADMIN_DEFAULT_URI environment variable
which is honored by virAdmConnectOpen and documented
in the virt-admin man page.
LIBVIRT_DEFAULT_ADMIN_URI is undocumented and this is its
only occurrence.
---
tools/virt-admin.c | 4
1 file changed, 4 deletions(-)
diff --git
On 06/04/16 15:11, Ján Tomko wrote:
On Wed, Apr 06, 2016 at 11:18:22AM +0300, Olga Krishtal wrote:
On 05/04/16 18:01, Ján Tomko wrote:
On Mon, Mar 14, 2016 at 07:00:39PM +0300, Olga Krishtal wrote:
Refreshes meta-information such as allocation, capacity, format, etc.
Ploop volumes differ from
On Wed, Apr 06, 2016 at 11:18:22AM +0300, Olga Krishtal wrote:
> On 05/04/16 18:01, Ján Tomko wrote:
> > On Mon, Mar 14, 2016 at 07:00:39PM +0300, Olga Krishtal wrote:
> >> Refreshes meta-information such as allocation, capacity, format, etc.
> >> Ploop volumes differ from other volume types. Path
On Wed, 2016-03-30 at 15:36 -0400, John Ferlan wrote:
> On 03/21/2016 01:28 PM, Andrea Bolognani wrote:
> >
> > We need to expose GIC capabilities in the domain capabilities
> > XML: update the schema to validate documents that contain the
> > new information.
> > ---
> >
On 06/04/16 10:51, Ján Tomko wrote:
> ---
> src/libvirt-admin.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/libvirt-admin.c b/src/libvirt-admin.c
> index 54af90c..6577c87 100644
> --- a/src/libvirt-admin.c
> +++ b/src/libvirt-admin.c
> @@ -121,10 +121,10 @@
SDK does not allocate memory when getting strings thus we
need to call every function that returns string twice.
First to obtain string length, second to obtain string
itself. It is tedious. Let's move this logic into macro
that generates wrapper. Luckily all functions we need
to wrap have 3
Getting strings of predictable length from vz SDK is still
not convinient. We don't need length feedback from sdk
function but still need to allocate and set length variable
just to be able to call the function. Let's introduce another
macro that generates suitable wrapper in this case.
Nikolay Shirokovskiy (3):
vz: simplify getting strings from vzsdk
vz: fix memory leak
vz: simplify getting fixed size strings from vzsdk
src/vz/vz_sdk.c | 203 +---
1 file changed, 77 insertions(+), 126 deletions(-)
--
1.8.3.1
--
we don't need to allocate mastr at all as it is array
and already have the the space it needs.
Signed-off-by: Nikolay Shirokovskiy
---
src/vz/vz_sdk.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c
index 0d853d0..443f753
On Wed, 2016-04-06 at 13:24 +0200, Jiri Denemark wrote:
> > So can I amend the commit with your proposed version
> > and push it?
>
> Yeah, thanks.
Done, thanks :)
--
Andrea Bolognani
Software Engineer - Virtualization Team
--
libvir-list mailing list
libvir-list@redhat.com
On Wed, Apr 06, 2016 at 13:21:03 +0200, Andrea Bolognani wrote:
> On Wed, 2016-04-06 at 12:17 +0200, Jiri Denemark wrote:
> > > diff --git a/libvirt.spec.in b/libvirt.spec.in
> > > index 03e2438..fdea12a 100644
> > > --- a/libvirt.spec.in
> > > +++ b/libvirt.spec.in
> > > @@ -77,7 +77,11 @@
> > >
On Tue, Apr 05, 2016 at 04:12:57PM +0100, Ian Jackson wrote:
> Wei Liu writes ("Re: [PATCH] libxl: libxl_domain_create_restore has an extra
> argument"):
> > CC Jim as well
> >
> > On Tue, Apr 05, 2016 at 03:20:12PM +0100, Wei Liu wrote:
> > > In the latest libxenlight code,
On Wed, 2016-04-06 at 12:17 +0200, Jiri Denemark wrote:
> > diff --git a/libvirt.spec.in b/libvirt.spec.in
> > index 03e2438..fdea12a 100644
> > --- a/libvirt.spec.in
> > +++ b/libvirt.spec.in
> > @@ -77,7 +77,11 @@
> >
> > %if 0%{?rhel}
> > %define with_qemu_tcg 0
> > -%define
On 06/04/16 10:51, Ján Tomko wrote:
> vshStrdup returns NULL without exiting on NULL input.
> ---
> tools/virsh.c | 4 +---
> tools/virt-admin.c | 4 +---
> 2 files changed, 2 insertions(+), 6 deletions(-)
>
> diff --git a/tools/virsh.c b/tools/virsh.c
> index 8c616d6..fe33839 100644
> ---
On 06/04/16 10:51, Ján Tomko wrote:
> Postpone filling out the default connection in ctl->connname
> after calling virshInit.
>
> This allows printing help without a connection to the daemon.
> ---
> tools/virsh.c | 6 +++---
> tools/virt-admin.c | 6 +++---
> 2 files changed, 6
With a bit of delay the release is now out and git is open again,
I tagged the release in head, and pushed signed tarball and rpms to the
usual place:
ftp://libvirt.org/libvirt/
UI also tagged and pushed signed tarball and rpms for the python
bindings for 1.3.3 at:
On Thu, Mar 17, 2016 at 11:24:34 +0100, Andrea Bolognani wrote:
> ---
> Definitely not an expert on spec files, but I did a test build
> on RHEL 7.2 ppc64le and it resulted in
>
> libvirt-daemon-driver-qemu-1.3.3-1.el7.ppc64le.rpm
> libvirt-daemon-kvm-1.3.3-1.el7.ppc64le.rpm
>
On Thu, 2016-03-17 at 11:24 +0100, Andrea Bolognani wrote:
> ---
> Definitely not an expert on spec files, but I did a test build
> on RHEL 7.2 ppc64le and it resulted in
>
> libvirt-daemon-driver-qemu-1.3.3-1.el7.ppc64le.rpm
> libvirt-daemon-kvm-1.3.3-1.el7.ppc64le.rpm
>
vshStrdup returns NULL without exiting on NULL input.
---
tools/virsh.c | 4 +---
tools/virt-admin.c | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/tools/virsh.c b/tools/virsh.c
index 8c616d6..fe33839 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -908,7 +908,6
---
src/libvirt-admin.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libvirt-admin.c b/src/libvirt-admin.c
index 54af90c..6577c87 100644
--- a/src/libvirt-admin.c
+++ b/src/libvirt-admin.c
@@ -121,10 +121,10 @@ getSocketPath(virURIPtr uri)
}
if
*** <""/.a... ***
Ján Tomko (3):
tools: read default connection uri from env later
tools: remove unnecessary defaultConn variable
libvirt-admin: do not crash on URI without a scheme
src/libvirt-admin.c | 4 ++--
tools/virsh.c | 6 ++
tools/virt-admin.c | 6 ++
3 files
Postpone filling out the default connection in ctl->connname
after calling virshInit.
This allows printing help without a connection to the daemon.
---
tools/virsh.c | 6 +++---
tools/virt-admin.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/tools/virsh.c
On 05/04/16 18:01, Ján Tomko wrote:
On Mon, Mar 14, 2016 at 07:00:39PM +0300, Olga Krishtal wrote:
Refreshes meta-information such as allocation, capacity, format, etc.
Ploop volumes differ from other volume types. Path to volume is the path
to directory with image file root.hds and
The reason for this is to fix the automatic rebuild of libvirt-common.h.in.
All *.in files should be automatically rebuilt each time they're modified.
It works well for makefiles and pkgconfig files, since they do have a valid
dependency in the top-level Makefile. However, with libvirt-common.h.in
On Tue, Apr 05, 2016 at 18:16:29 +0200, Guido Günther wrote:
> >From 4e302ea482d58c5ae034f85ea27d0318cb0b59c5 Mon Sep 17 00:00:00 2001
> Message-Id:
> <4e302ea482d58c5ae034f85ea27d0318cb0b59c5.1459872920.git@sigxcpu.org>
> From: =?UTF-8?q?Guido=20G=C3=BCnther?=
> Date: Thu,
On Tue, Apr 05, 2016 at 17:36:27 +0200, Ján Tomko wrote:
> On Thu, Mar 31, 2016 at 04:05:01PM +0200, Peter Krempa wrote:
...
> ACK to both
Pushed; Thanks.
Peter
signature.asc
Description: Digital signature
--
libvir-list mailing list
libvir-list@redhat.com
56 matches
Mail list logo