[libvirt] PATCH: Raise log level for dlopen() problems

2009-04-30 Thread Daniel P. Berrange
Some of the problems when dlopen'ing a module really should be reported to the user/admin more readily. So this raises the logging level for the important failure messages, so they're visible by default Daniel diff -r 15c4668d403b src/driver.c --- a/src/driver.c Wed Apr 29 15:29:17 2009 +010

[libvirt] [PATCH 1/1] Support for rdp/desktop types in graphics tag

2009-04-30 Thread Pritesh Kothari
Hi All, As per the discussion earlier on the list I have modified the rdp type and added a new desktop type and posting the patch for same. Regards, Pritesh diff --git a/docs/schemas/domain.rng b/docs/schemas/domain.rng index 2f784e1..5e4aa5b 100644 --- a/docs/schemas/domain.rng +++ b/docs/schem

[libvirt] PATCH: Enable migration with QEMU >= 0.10.0

2009-04-30 Thread Daniel P. Berrange
The KVM migration code was added to QEMU for the 0.10.0 release, so we should enable this in libvirt now. Daniel diff -r be7993675e07 src/qemu_conf.c --- a/src/qemu_conf.c Thu Apr 30 14:49:27 2009 +0100 +++ b/src/qemu_conf.c Thu Apr 30 15:08:45 2009 +0100 @@ -473,16 +473,13 @@ int qemudExtra

[libvirt] PATCH: More robust name & UUID uniqueness checking for QEMU

2009-04-30 Thread Daniel P. Berrange
When defining a VM config, we need to apply the following logi - If existing VM has same UUID - If name also matches => allow - Else => raise error - Else - If name matches => raise error - Else => allow When creating a live VM, or restoring a VM we need to apply simila

Re: [libvirt] [PATCH] also enable bridges without IP address

2009-04-30 Thread Daniel P. Berrange
On Thu, Apr 30, 2009 at 02:16:35PM +0200, Ludwig Nussel wrote: > Bridges that are not up won't forward packets Ah yes, good point :-) Daniel > --- > src/network_driver.c |9 +++-- > 1 files changed, 3 insertions(+), 6 deletions(-) > > diff --git a/src/network_driver.c b/src/network_dr

Re: [libvirt] [PATCH 1/1] Changes in version detection and moving a global variable in the global struct

2009-04-30 Thread Pritesh Kothari
On Thursday 30 April 2009 14:26:06 Daniel P. Berrange wrote: > On Wed, Apr 29, 2009 at 01:14:05PM +0200, Pritesh Kothari wrote: > > Hi All, > > > > PATCH 1/1: contains changes in version detection and moving a global > > variable in the global struct, so that no more global vairables exists. > > >

Re: [libvirt] [PATCH 1/1] Changes in version detection and moving a global variable in the global struct

2009-04-30 Thread Daniel P. Berrange
On Wed, Apr 29, 2009 at 01:14:05PM +0200, Pritesh Kothari wrote: > Hi All, > > PATCH 1/1: contains changes in version detection and moving a global variable > in the global struct, so that no more global vairables exists. > +if (uVersion >= 2001052 && uVersion < 2002051) { > +

[libvirt] [PATCH] also enable bridges without IP address

2009-04-30 Thread Ludwig Nussel
Bridges that are not up won't forward packets Signed-off-by: Ludwig Nussel cu Ludwig --- src/network_driver.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/network_driver.c b/src/network_driver.c index a17a769..a163b15 100644 --- a/src/network_driver.c ++

Re: [libvirt] [PATCH 1/1] Changes in version detection and moving a global variable in the global struct

2009-04-30 Thread Daniel P. Berrange
On Wed, Apr 29, 2009 at 01:14:05PM +0200, Pritesh Kothari wrote: > Hi All, > > PATCH 1/1: contains changes in version detection and moving a global variable > in the global struct, so that no more global vairables exists. ACK, this is a good idea. Daniel > commit 4a76967975b311151454af60d03c1e

Re: [libvirt] [PATCH 1/1] Making path detection more robust in VirtualBox

2009-04-30 Thread Daniel P. Berrange
On Wed, Apr 29, 2009 at 01:14:02PM +0200, Pritesh Kothari wrote: > Hi All, > > PATCH 1/1: contains changes in the glue code for making path detection more > robust in VirtualBox ACK > commit 0f31b4cce710ab6efea352174049e305b29a7a2f > Author: Pritesh Kothari > Date: Wed Apr 29 10:52:37 2009 +

Re: [libvirt] VM image running on 2 Intels

2009-04-30 Thread Daniel P. Berrange
On Wed, Apr 29, 2009 at 07:06:27PM +0300, Zvi Dubitzky wrote: > Also : please comment if the below qemu-system-x86_64 explicit image > start of a VM and the same done by a virsh command by : define + start > <.xml> > are equivalent and if not what change should I make to the > .xml

Re: [libvirt] [PATCH 2/2] support for multiple graphics devices

2009-04-30 Thread Daniel P. Berrange
On Thu, Apr 30, 2009 at 11:28:31AM +0200, Pritesh Kothari wrote: > Hi All, > > I have added support for multiple graphics devices, the patches are as below. > I have checked them against current cvs head and works fine ACK, also looks fine. > diff --git a/src/qemu_conf.c b/src/qemu_conf.c > inde

Re: [libvirt] [PATCH 1/2] support for multiple graphics devices

2009-04-30 Thread Daniel P. Berrange
On Thu, Apr 30, 2009 at 11:28:30AM +0200, Pritesh Kothari wrote: > Hi All, > > I have added support for multiple graphics devices, the patches are as below. > I have checked them against current cvs head and works fine ACK, this patch loooks good. Daniel > diff --git a/src/domain_conf.c b/src/d

Re: [libvirt] libvirt will create two guest with the same name, but with different UUIDs

2009-04-30 Thread Daniel P. Berrange
On Wed, Apr 29, 2009 at 10:12:02AM -0700, Kaitlin Rupert wrote: > Hi, > > libvirt allows you to create two guests with same name, but with > different UUIDs. > > This causes some problems in the reporting though. virsh will report > that a guest is running (when it isn't). This also causes some

[libvirt] [PATCH 1/2] support for multiple graphics devices

2009-04-30 Thread Pritesh Kothari
Hi All, I have added support for multiple graphics devices, the patches are as below. I have checked them against current cvs head and works fine PATCH 1/2: contains changes in libvirt for multiple graphics devices PATCH 2/2: contains corresponding changes in qemu driver. Regards, Pritesh diff -

[libvirt] [PATCH 2/2] support for multiple graphics devices

2009-04-30 Thread Pritesh Kothari
Hi All, I have added support for multiple graphics devices, the patches are as below. I have checked them against current cvs head and works fine PATCH 1/2: contains changes in libvirt for multiple graphics devices PATCH 2/2: contains corresponding changes in qemu driver. Regards, Pritesh diff -

[libvirt] [PATCH] Fix the style of argument("cpumap") in op_pincpu()

2009-04-30 Thread Tatsuro Enokura
Hi all, The form of cpumap argument in op_pincpu method on xend change by following a patch. http://xenbits.xensource.com/xen-unstable.hg?rev/a63d20d7a941 xenDaemonDomainPinCpu() sends the string for cpumap argument like python's list style now. This patch is following the change of cpumap argu