[libvirt] ruby-libvirt issue

2010-07-17 Thread Jaromír Červenka
Good evening, could anybody explain me this, please? divinus:~ # virsh error: cannot recv data: : Connection reset by peer error: failed to connect to the hypervisor divinus:~ # I am trying to imlement Chris's ruby-libvirt to my Ruby on Rails application. First few connection to libvirt daemon (

[libvirt] (how much) support for kqemu domain

2010-07-17 Thread John Lumby
> Date: Wed, 14 Jul 2010 16:21:47 +0100 > From: berra...@redhat.com > To: johnlu...@hotmail.com > CC: libvir-list@redhat.com > Subject: Re: [libvirt] (how much) support for kqemu domain > > On Wed, Jul 14, 2010 at 11:11:48AM -0400, John Lumby wrote: > > > > I am wondering about the extent

Re: [libvirt] [PATCH 8/8] Always clear out the last_error in virshReportError.

2010-07-17 Thread Matthias Bolte
2010/7/8 Chris Lalancette : > Otherwise you can get bogus "unknown error" printouts on > subsequent commands. > > Signed-off-by: Chris Lalancette > --- >  tools/virsh.c |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/tools/virsh.c b/tools/virsh.c > index 6a22071..6b7

Re: [libvirt] [PATCH 7/8] Fix up inconsistent virsh option error reporting.

2010-07-17 Thread Matthias Bolte
2010/7/8 Chris Lalancette : > The virsh option error reporting was not being used > consistently; some commands would spit out errors on > missing required options while others would just silently fail. > However, vshCommandOptString knows which ones are required > and which ones aren't, so make it

Re: [libvirt] [PATCH 6/8] Add vshFileReadAll() helper.

2010-07-17 Thread Matthias Bolte
2010/7/8 Chris Lalancette : > This helper calls virFileReadAll(), and then outputs a > proper error if it fails for whatever reason. > > Signed-off-by: Chris Lalancette > --- >  tools/virsh.c |   65 >  1 files changed, 37 insertions(+), 28 d

Re: [libvirt] [PATCH 4/8] Remove all uses of virshReportError except "vshError".

2010-07-17 Thread Matthias Bolte
2010/7/8 Chris Lalancette : > With the current virsh code, error reporting is a bit fragile > because the reporting is decoupled from the place where the > error occurred.  There are two places where this can be a problem: > > 1)  In utility functions that don't properly dispatch errors > like the

Re: [libvirt] [PATCH 5/8] Add additional error reporting to virsh.

2010-07-17 Thread Matthias Bolte
2010/7/8 Chris Lalancette : > With the change to make vshError() responsible for printing > all errors, there were some places in the code that would no > longer properly print errors.  The good news is that the vast > majority of virsh was already printing errors, so this patch > just cleans up th

Re: [libvirt] Memory

2010-07-17 Thread Ryota Ozaki
On Saturday, July 17, 2010, Jaromír Červenka wrote: > Hi ozaki-r, > > thank you for answer. > > So, there is no posibility that guest can request for more memory (max up to > maxMemory) and libvirt/hypervisor/whatever will automatically increase it? I > have to do it manually? AFAIK yes, it has

Re: [libvirt] Memory

2010-07-17 Thread Jaromír Červenka
Hi ozaki-r, thank you for answer. So, there is no posibility that guest can request for more memory (max up to maxMemory) and libvirt/hypervisor/whatever will automatically increase it? I have to do it manually? Jaromir. Dne 17. července 2010 13:49 Ryota Ozaki napsal(a): > Hi Jaromír > 2010/

[libvirt] Memory

2010-07-17 Thread Ryota Ozaki
Hi Jaromír 2010/7/17 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