Re: [libvirt] [PATCHv3] man pages: update authors and copyright notice for libvirtd and virsh

2010-07-16 Thread Justin Clift
On 07/17/2010 06:23 AM, Laine Stump wrote: On 07/16/2010 03:07 PM, Justin Clift wrote: This patch removes the individual author names from the libvirtd and virsh man pages, instead referring to the main AUTHORS file distributed with libvirt. This approach is needed, as we can't guarantee unicode

[libvirt] Memory

2010-07-16 Thread Jaromír Červenka
Hello, Could anybody explain me a little bit what is the difference between and . I use qemu-kvm hypervisor*. *When I have 1024MB maxMemory and 512MB of currentMemory, I can see just 512MB in guest os (free -m).* *Is it ok? Does it have something to do with ballooning technique? What happened if

Re: [libvirt] [PATCH] cpu: Add support for CPU vendor

2010-07-16 Thread Dan Kenigsberg
On Fri, Jul 02, 2010 at 11:16:22PM +0200, Jiri Denemark wrote: > By specifying element in CPU requirements a guest can be > restricted to run only on CPUs by a given vendor. Host CPU vendor is > also specified in capabilities XML. > > The vendor is checked when migrating a guest but it's not forc

Re: [libvirt] [PATCHv3] man pages: update authors and copyright notice for libvirtd and virsh

2010-07-16 Thread Laine Stump
On 07/16/2010 03:07 PM, Justin Clift wrote: This patch removes the individual author names from the libvirtd and virsh man pages, instead referring to the main AUTHORS file distributed with libvirt. This approach is needed, as we can't guarantee unicode support across all versions of pod2man us

Re: [libvirt] [PATCH] phyp: Fixing possible buffer overflow

2010-07-16 Thread Laine Stump
On 07/16/2010 03:04 AM, Eduardo Otubo wrote: On 07/15/2010 11:01 PM, Laine Stump wrote: On 07/15/2010 06:37 PM, Eduardo Otubo wrote: The line src/phyp/phyp_driver.c:427 was crashing by buffer overflow if the return of the command wasn't<=10. The highest number for a LPAR ID is 256 per machine,

[libvirt] [PATCHv3] man pages: update authors and copyright notice for libvirtd and virsh

2010-07-16 Thread Justin Clift
This patch removes the individual author names from the libvirtd and virsh man pages, instead referring to the main AUTHORS file distributed with libvirt. This approach is needed, as we can't guarantee unicode support across all versions of pod2man used with libvirt. Additionally, this patch incl

Re: [libvirt] Unmarshalling error with migrate command

2010-07-16 Thread Chris Lalancette
On 07/16/10 - 12:52:48PM, Doug Goldstein wrote: > Hey guys, > > I'm using a server running libvirt 0.8.2 and my desktop running > libvirt 0.8.2. My desktop has virt-manager 0.8.4 and I've got a Linux > VM running on the server. I'm looking to use the new migration support > to migrate the VM to my

Re: [libvirt] [PATCHv2] man pages: update authors and copyright notice for libvirtd and virsh

2010-07-16 Thread Laine Stump
On 07/16/2010 10:40 AM, Justin Clift wrote: This patch removes the individual author names from the libvirtd and virsh man pages, instead referring to the main AUTHORS file distributed with libvirt. This approach is needed, as we can't guarantee unicode support across all versions of pod2man us

[libvirt] Unmarshalling error with migrate command

2010-07-16 Thread Doug Goldstein
Hey guys, I'm using a server running libvirt 0.8.2 and my desktop running libvirt 0.8.2. My desktop has virt-manager 0.8.4 and I've got a Linux VM running on the server. I'm looking to use the new migration support to migrate the VM to my desktop from the server. Everytime I attempt the migration

[libvirt] [PATCH] lxc: Ensure to kill init process by sending SIGKILL if needed

2010-07-16 Thread Ryota Ozaki
Init process may remain after sending SIGTERM for some reason. For example, if original init program is used, it is definitely not killed by SIGTERM. --- src/lxc/lxc_controller.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/lxc/lxc_controller.c b/src/lxc/lxc_cont

[libvirt] [PATCHv2] man pages: update authors and copyright notice for libvirtd and virsh

2010-07-16 Thread Justin Clift
This patch removes the individual author names from the libvirtd and virsh man pages, instead referring to the main AUTHORS file distributed with libvirt. This approach is needed, as we can't guarantee unicode support across all versions of pod2man used with libvirt. Additionally, this patch incl

Re: [libvirt] [PATCH 3/8] Remove unused and bitrotting vshCommandOptStringList

2010-07-16 Thread Chris Lalancette
On 07/15/10 - 03:11:02PM, Matthias Bolte wrote: > 2010/7/8 Chris Lalancette : > > Signed-off-by: Chris Lalancette > > --- > >  tools/virsh.c |   29 - > >  1 files changed, 0 insertions(+), 29 deletions(-) > > > > diff --git a/tools/virsh.c b/tools/virsh.c > > index d539

[libvirt] FYI; pushed trivial patch

2010-07-16 Thread Chris Lalancette
I've pushed the attached trivial patch to fix the compile on i686. -- Chris Lalancette commit ee41ba665be4282eed3911c60679c036bae31dd6 Author: Chris Lalancette Date: Fri Jul 16 09:14:53 2010 -0400 Fix compile on i686. When printing out size_t, we need to use %zu to make sure it

[libvirt] [PATCH] Fix a deadlock in bi-directional p2p concurrent migration.

2010-07-16 Thread Chris Lalancette
If you try to execute two concurrent migrations p2p from A->B and B->A, the two libvirtd's will deadlock trying to perform the migrations. The reason for this is that in p2p migration, the libvirtd's are responsible for making the RPC Prepare, Migrate, and Finish calls. However, they are currentl

Re: [libvirt] [PATCH 1/8] Remove the "showerror" parameter from vshConnectionUsability.

2010-07-16 Thread Chris Lalancette
On 07/15/10 - 03:10:25PM, Matthias Bolte wrote: > 2010/7/8 Chris Lalancette : > > Nobody was using it anyway. > > > > Signed-off-by: Chris Lalancette > > --- > >  tools/virsh.c |  270 > > - > >  1 files changed, 134 insertions(+), 136 deleti

Re: [libvirt] [PATCH 2/8] Remove error checking after using vshMalloc.

2010-07-16 Thread Chris Lalancette
On 07/15/10 - 03:10:49PM, Matthias Bolte wrote: > 2010/7/8 Chris Lalancette : > > vshMalloc and friends always exit() on allocation failure, > > so there is no reason to do checking for NULL in the code > > that uses it. > > > > Signed-off-by: Chris Lalancette > > --- > > ACK. Thanks, pushed. -

[libvirt] [PATCH] docs: remove all generated doc files when a clean target is used

2010-07-16 Thread Justin Clift
Properly removes all of the generated .html and .xml files in the docs area with make clean and make maintainer-clean. Otherwise they're just left there and get in the way when working on docs. --- docs/Makefile.am |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/

[libvirt] ChangeLog-old file: do we need it?

2010-07-16 Thread Justin Clift
Hi us, We have an old ChangeLog file in the base directory that seems to just be hanging around and not really serving a useful purpose. And takes up space. Can we remove it? Regards and best wishes, Justin Clift -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/ma

Re: [libvirt] [RFC] Slides for FISL presentation

2010-07-16 Thread Justin Clift
On 07/16/2010 05:33 PM, Eduardo Otubo wrote: Oops, trigger happy here, this is the link of the correct presentation. https://docs.google.com/leaf?id=0B67FxRV5aa7_NGIxOWUxODEtNDA1Yy00ZjllLTgzNWUtMGVlZjMwODUwYjll&hl=en These are mostly trivial, but mentioning them just in case it's useful:

Re: [libvirt] [RFC] Slides for FISL presentation

2010-07-16 Thread Eduardo Otubo
On 07/16/2010 04:22 AM, Eduardo Otubo wrote: Hello all, This is the first draft for my presentation at FISL. I would like you to take a look and give your opinions. Any comment is always welcome :-) Thank you! https://docs.google.com/leaf?id=0B67FxRV5aa7_YWI4YzQ2MWQtZWQwYi00NjE0LWEyZDItNDI3ZDh

[libvirt] [RFC] Slides for FISL presentation

2010-07-16 Thread Eduardo Otubo
Hello all, This is the first draft for my presentation at FISL. I would like you to take a look and give your opinions. Any comment is always welcome :-) Thank you! https://docs.google.com/leaf?id=0B67FxRV5aa7_YWI4YzQ2MWQtZWQwYi00NjE0LWEyZDItNDI3ZDhiZmJkMWNi&hl=en ps.: I didn't know where to

Re: [libvirt] [PATCH] phyp: Fixing possible buffer overflow

2010-07-16 Thread Eduardo Otubo
On 07/15/2010 11:01 PM, Laine Stump wrote: On 07/15/2010 06:37 PM, Eduardo Otubo wrote: The line src/phyp/phyp_driver.c:427 was crashing by buffer overflow if the return of the command wasn't<=10. The highest number for a LPAR ID is 256 per machine, no need to allocate 10 bytes for it. So, adjus