Re: [libvirt] [PATCH] Re: Minor php errors in the libvirt search script?

2011-01-19 Thread Justin Clift
On 20/01/2011, at 6:18 PM, Daniel Veillard wrote: > On Mon, Jan 10, 2011 at 11:46:58PM +1100, Justin Clift wrote: >> Guess we ACK it, and see if it works? > > I pushed it, then someone reported errors, and I fixed those, so it should > all be sorted out now :-) Nice. :) -- libvir-list mailing

Re: [libvirt] [PATCH] docs: move the apps page to the top level as its good promo

2011-01-19 Thread Justin Clift
On 20/01/2011, at 6:05 PM, Daniel Veillard wrote: > On Thu, Jan 20, 2011 at 05:19:53PM +1100, Justin Clift wrote: >> --- >> docs/sitemap.html.in | 10 -- >> 1 files changed, 4 insertions(+), 6 deletions(-) > Hum, it makes "Related Links" rather empty, but okay Thanks Daniel, pushed. :)

Re: [libvirt] [PATCH] Re: Minor php errors in the libvirt search script?

2011-01-19 Thread Daniel Veillard
On Mon, Jan 10, 2011 at 11:46:58PM +1100, Justin Clift wrote: > On 10/01/2011, at 5:41 PM, Daniel Veillard wrote: > > [ Cc'ing back the list ] > > On Sun, Jan 09, 2011 at 03:11:29AM +1100, Justin Clift wrote: > >> Hi Daniel, > >> > >> Noticing these php warning's showing up in the apache libvirt.

Re: [libvirt] [PATCH] docs: move the apps page to the top level as its good promo

2011-01-19 Thread Daniel Veillard
On Thu, Jan 20, 2011 at 05:19:53PM +1100, Justin Clift wrote: > --- > docs/sitemap.html.in | 10 -- > 1 files changed, 4 insertions(+), 6 deletions(-) > > diff --git a/docs/sitemap.html.in b/docs/sitemap.html.in > index 7077038..bcce62f 100644 > --- a/docs/sitemap.html.in > +++ b/docs/s

[libvirt] [PATCH] docs: move the apps page to the top level as its good promo

2011-01-19 Thread Justin Clift
--- docs/sitemap.html.in | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/sitemap.html.in b/docs/sitemap.html.in index 7077038..bcce62f 100644 --- a/docs/sitemap.html.in +++ b/docs/sitemap.html.in @@ -19,6 +19,10 @@ +Applicati

[libvirt] [RFC/PATCH v1] Adding entry for cpu tunable shares in xml

2011-01-19 Thread Nikunj A. Dadhania
From: Nikunj A. Dadhania Make cpu share persistent and add support for parsing them. docs/formatdomain.html.in: Document cputune element src/conf/domain_conf.c,src/conf/domain_conf.h: Add cputune element parsing src/lxc/lxc_controller.c: Use the parsed cputune shares value src/qemu/qemu_cgroup.c

Re: [libvirt] virsh fails to define a domain

2011-01-19 Thread Nikunj A. Dadhania
On Wed, 19 Jan 2011 15:17:01 +0100, Jiri Denemark wrote: > On Wed, Jan 19, 2011 at 19:36:34 +0530, Nikunj A. Dadhania wrote: > > Some more debugging suggested that qemuCapsExtractDeviceStr is returning > > an error. The output of the "pci-assign,?" is not returning any useful > > information on my

Re: [libvirt] cont command failing via JSON monitor on restore

2011-01-19 Thread Jim Fehlig
Jim Fehlig wrote: > Agreed. What error do you get back from the text monitor when cont cmd > fails? I'd be interested in the following output from > $root/src/qemu/qemu_monitor_text.c:qemuMonitorCommandWithHandler() > > VIR_DEBUG("Receive command reply ret=%d errno=%d %d bytes '%s'", >

Re: [libvirt] [PATCH] docs: added new entries to apps page, plus adjusted a few existing

2011-01-19 Thread Justin Clift
On 20/01/2011, at 1:16 PM, Daniel Veillard wrote: > On Thu, Jan 20, 2011 at 12:59:08PM +1100, Justin Clift wrote: >> Added new entries for Hudson, LCFG, Tivoli Provisioning Manager, >> virt-what, and Zenoss. Adjusted the existing entries for BuildBot >> and vmware2libvirt. >> --- >> docs/apps.html

Re: [libvirt] [PATCH] docs: added new entries to apps page, plus adjusted a few existing

2011-01-19 Thread Daniel Veillard
On Thu, Jan 20, 2011 at 12:59:08PM +1100, Justin Clift wrote: > Added new entries for Hudson, LCFG, Tivoli Provisioning Manager, > virt-what, and Zenoss. Adjusted the existing entries for BuildBot > and vmware2libvirt. > --- > docs/apps.html.in | 94 ++---

Re: [libvirt] [PATCH] docs: document and elements

2011-01-19 Thread Daniel Veillard
On Tue, Jan 18, 2011 at 03:46:42PM -0700, Eric Blake wrote: > On 01/18/2011 03:10 PM, Matthias Bolte wrote: > > 2011/1/18 Eric Blake : > >> * docs/formatdomain.html.in: Talk about throughout. > >> --- > >> > >> More in the vein of adding missing documentation. > >> > > > > Typos in the subject: s

[libvirt] [PATCH] docs: added new entries to apps page, plus adjusted a few existing

2011-01-19 Thread Justin Clift
Added new entries for Hudson, LCFG, Tivoli Provisioning Manager, virt-what, and Zenoss. Adjusted the existing entries for BuildBot and vmware2libvirt. --- docs/apps.html.in | 94 ++-- 1 files changed, 76 insertions(+), 18 deletions(-) diff --git

Re: [libvirt] How can I improve the performance of libvirt when running many virtual machines on same host

2011-01-19 Thread Daniel Veillard
On Wed, Jan 19, 2011 at 04:45:04PM -0200, Diego Dias wrote: > Hi, > >I am using Xen 4 as hypervisor and using libvirt 0.8.4 to > communicate with it. >When I run more than 35 virtual machines on the host, Libvirt > starts to run extremely slow and I cant even execute a /"virsh > list/". Th

Re: [libvirt] [PATCH] docs: correct setmem text plus expand setmaxmem text

2011-01-19 Thread Eric Blake
On 01/19/2011 12:40 PM, Matthias Bolte wrote: > I wonder in which direction to go in order to unify this: being more > strict and do "value % 1024 == 0" checks all over the place, or being > less strict and just divide by 1024. See also this bug report, where the request was made to round up to th

Re: [libvirt] [PATCH] docs: correct setmem text plus expand setmaxmem text

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 08:40:33PM +0100, Matthias Bolte wrote: > 2011/1/19 Eric Blake : > > On 01/18/2011 05:28 PM, Justin Clift wrote: > >> This completes the man page updates required for BZ # 622534: > > >> + > >> +Some hypervisors require a larger granularity than kilobytes, and requests > >>

Re: [libvirt] [PATCH] qemu: Avoid sending STOPPED event twice

2011-01-19 Thread Jiri Denemark
On Wed, Jan 19, 2011 at 19:35:32 +, Daniel P. Berrange wrote: > On Wed, Jan 19, 2011 at 08:19:36PM +0100, Jiri Denemark wrote: > > In some circumstances, libvirtd would issue two STOPPED events after it > > stopped a domain. This was because an EOF event can arrive after a qemu > > process is k

Re: [libvirt] [PATCH] docs: correct setmem text plus expand setmaxmem text

2011-01-19 Thread Matthias Bolte
2011/1/19 Eric Blake : > On 01/18/2011 05:28 PM, Justin Clift wrote: >> This completes the man page updates required for BZ # 622534: >> + >> +Some hypervisors require a larger granularity than kilobytes, and requests >> +that are not an even multiple will either be rounded down or rejected.  For

Re: [libvirt] [PATCH] qemu: Avoid sending STOPPED event twice

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 08:19:36PM +0100, Jiri Denemark wrote: > In some circumstances, libvirtd would issue two STOPPED events after it > stopped a domain. This was because an EOF event can arrive after a qemu > process is killed but before qemuMonitorClose() is called. > > qemuHandleMonitorEOF()

[libvirt] [PATCH] qemu: Avoid sending STOPPED event twice

2011-01-19 Thread Jiri Denemark
In some circumstances, libvirtd would issue two STOPPED events after it stopped a domain. This was because an EOF event can arrive after a qemu process is killed but before qemuMonitorClose() is called. qemuHandleMonitorEOF() should ignore EOF when the domain is not running. I wasn't able to repr

[libvirt] How can I improve the performance of libvirt when running many virtual machines on same host

2011-01-19 Thread Diego Dias
Hi, I am using Xen 4 as hypervisor and using libvirt 0.8.4 to communicate with it. When I run more than 35 virtual machines on the host, Libvirt starts to run extremely slow and I cant even execute a /"virsh list/". The memory usage of libvirtd is around 468288K. Is there any way to i

Re: [libvirt] [PATCH] qemu: Fail if per-device boot is used but deviceboot is not supported

2011-01-19 Thread Jiri Denemark
On Wed, Jan 19, 2011 at 07:48:13 -0700, Eric Blake wrote: > On 01/19/2011 07:07 AM, Jiri Denemark wrote: > > --- > > src/qemu/qemu_command.c |7 +++ > > 1 files changed, 7 insertions(+), 0 deletions(-) > > > > diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c > > index 24acc1

Re: [libvirt] [PATCH] spec: Start libvirt-guests only if it's on in current runlevel

2011-01-19 Thread Jiri Denemark
On Wed, Jan 19, 2011 at 07:47:35 -0700, Eric Blake wrote: > On 01/19/2011 07:04 AM, Jiri Denemark wrote: > > --- > > libvirt.spec.in |3 ++- > > 1 files changed, 2 insertions(+), 1 deletions(-) > > > > diff --git a/libvirt.spec.in b/libvirt.spec.in > > index d673cf6..0a2d10e 100644 > > --- a/

Re: [libvirt] cont command failing via JSON monitor on restore

2011-01-19 Thread Laine Stump
On 01/18/2011 01:15 PM, Jim Fehlig wrote: Laine Stump wrote: On 01/14/2011 04:26 PM, Jim Fehlig wrote: Laine Stump wrote: On 01/13/2011 04:29 PM, Jim Fehlig wrote: Daniel P. Berrange wrote: Yep, it wasn't really intended as a fix. It was intended to make the error scenario clearly dete

Re: [libvirt] [PATCH] docs: correct setmem text plus expand setmaxmem text

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 07:54:52AM -0700, Eric Blake wrote: > On 01/18/2011 05:28 PM, Justin Clift wrote: > > This completes the man page updates required for BZ # 622534: > > > > https://bugzilla.redhat.com/show_bug.cgi?id=622534 > > =item B I B > > > > -Change the maximum memory allocation

Re: [libvirt] [PATCH] docs: correct setmem text plus expand setmaxmem text

2011-01-19 Thread Eric Blake
On 01/18/2011 05:28 PM, Justin Clift wrote: > This completes the man page updates required for BZ # 622534: > > https://bugzilla.redhat.com/show_bug.cgi?id=622534 > =item B I B > > -Change the maximum memory allocation limit in the guest domain. This should > -not change the current memory us

Re: [libvirt] [PATCH] spec: Start libvirt-guests only if it's on in current runlevel

2011-01-19 Thread Eric Blake
On 01/19/2011 07:04 AM, Jiri Denemark wrote: > --- > libvirt.spec.in |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/libvirt.spec.in b/libvirt.spec.in > index d673cf6..0a2d10e 100644 > --- a/libvirt.spec.in > +++ b/libvirt.spec.in > @@ -775,7 +775,8 @@ fi > /sbin/

Re: [libvirt] [PATCH] qemu: Fail if per-device boot is used but deviceboot is not supported

2011-01-19 Thread Eric Blake
On 01/19/2011 07:07 AM, Jiri Denemark wrote: > --- > src/qemu/qemu_command.c |7 +++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c > index 24acc10..537e537 100644 > --- a/src/qemu/qemu_command.c > +++ b/src/qemu/qemu_

Re: [libvirt] virsh fails to define a domain

2011-01-19 Thread Jiri Denemark
On Wed, Jan 19, 2011 at 19:36:34 +0530, Nikunj A. Dadhania wrote: > Some more debugging suggested that qemuCapsExtractDeviceStr is returning > an error. The output of the "pci-assign,?" is not returning any useful > information on my system. > > [nikunj@dhruv ~]$ qemu-kvm -device "pci-assign,?" >

[libvirt] [PATCH] qemu: Fail if per-device boot is used but deviceboot is not supported

2011-01-19 Thread Jiri Denemark
--- src/qemu/qemu_command.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 24acc10..537e537 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -2949,6 +2949,13 @@ qemuBuildCommandLine(virConn

[libvirt] virsh fails to define a domain

2011-01-19 Thread Nikunj A. Dadhania
I am using the git version of libvirt. The domain file was working previously. [nikunj@dhruv ~]$ rpm -q qemu-kvm qemu-kvm-0.12.3-8.fc13.x86_64 Some more debugging suggested that qemuCapsExtractDeviceStr is returning an error. The output of the "pci-assign,?" is not returning any useful informati

[libvirt] [PATCH] spec: Start libvirt-guests only if it's on in current runlevel

2011-01-19 Thread Jiri Denemark
--- libvirt.spec.in |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index d673cf6..0a2d10e 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -775,7 +775,8 @@ fi /sbin/ldconfig /sbin/chkconfig --add libvirt-guests if [ $1 -ge 1 ];

Re: [libvirt] [PATCH 2/3] qemu: improve device flag parsing

2011-01-19 Thread Eric Blake
On 01/19/2011 06:12 AM, Osier Yang wrote: > > This causes problem? older qemu which doesn't support > "-device pci-assign,?" or "-device virtio-blk-pci,?" > won't work anymore. (raised by nikunj in #virt). Those problems have already been fixed by commit 93681a3683 -- Eric Blake ebl...@redhat

Re: [libvirt] [PATCH 2/3] qemu: improve device flag parsing

2011-01-19 Thread Osier Yang
于 2011年01月14日 03:10, Eric Blake 写道: * src/qemu/qemu_capabilities.h (qemuCapsParseDeviceStr): New prototype. * src/qemu/qemu_capabilities.c (qemuCapsParsePCIDeviceStrs) Rename and split... (qemuCapsExtractDeviceStr, qemuCapsParseDeviceStr): ...to make it easier to add and test device-specific chec

Re: [libvirt] [PATCH] Basic support for VDE networking

2011-01-19 Thread Justin Clift
On 13/01/2011, at 10:35 PM, Renzo Davoli wrote: >> That's potentially interesting from the OSX point of view as well. >> >> The VDE website (wiki) has conflicting info on it, but mentions in the >> notes for its System Requirements that it works on OSX. > > We do not release VDE binaries for MacO