Re: [libvirt] libvirt vs XenAPI

2008-09-08 Thread Alain Barthe
2008/9/4 Daniel Veillard [EMAIL PROTECTED] On Tue, Sep 02, 2008 at 06:09:43PM +0200, atif bajwa wrote: Just quick question, what version of Xen/XenApi is packaged in RHEL 5.1/5.2. Can I remotely access it using XML-RPC API or not? RHEL-5.2 has xen-3.0.3, and that will stay the same for

Re: [libvirt] libvirt vs XenAPI

2008-09-08 Thread Atsushi SAKAI
Hi, Alain I guess Daniel says xend issue.(since it relates to XenAPI) As for hypervisor, You are correct in RHEL5.2 and CentOS5.2. Current RHEL/Xen is very complex compared to upstream Xen. Thanks Atsushi SAKAI Alain Barthe [EMAIL PROTECTED] wrote: 2008/9/4 Daniel Veillard [EMAIL

Re: [libvirt] libvirt vs XenAPI

2008-09-08 Thread atif bajwa
So the question is, Is there any particular reason that RHEL 5.2 did not upgrade Xen user space tools/libs. Novell SLES/SLED 10 SP2 and Oracle VM 2.1.x have upgraded the user space libs for remote management of Xen infrastructure. Regards, Atif On Mon, Sep 8, 2008 at 8:49 AM, Atsushi SAKAI

Re: [libvirt] libvirt vs XenAPI

2008-09-08 Thread Chris Lalancette
atif bajwa wrote: So the question is, Is there any particular reason that RHEL 5.2 did not upgrade Xen user space tools/libs. Novell SLES/SLED 10 SP2 and Oracle VM 2.1.x have upgraded the user space libs for remote management of Xen infrastructure. Yes. We needed to keep backwards

Re: [libvirt] [RFC][PATCH] virt-manager calls migration API

2008-09-08 Thread Chris Lalancette
S.Sakamoto wrote: Hi, I just make the proto patch that calls migration API from virt-manager. Form unity point of view, This proto patch adds Migrate in as same layer as operations for the Domain. Fisrt, this patch adds Migrate to the right-click menu when selected a domain. You probably

Re: [libvirt] domain type kvm error

2008-09-08 Thread Daniel P. Berrange
On Sun, Sep 07, 2008 at 11:56:21PM +0300, Rakotomandimby Mihamina wrote: Cole Robinson wrote: You can't just change the domain type, you also have to change the emulator tag. My guess is, this new 'kvm' command is still using the plain qemu emulator and not '/usr/bin/kvm' Given that, how

Re: [libvirt] PATCH: Fix NULL checks in openvz driver

2008-09-08 Thread Daniel P. Berrange
On Fri, Sep 05, 2008 at 05:40:16PM +0200, Jim Meyering wrote: Daniel P. Berrange [EMAIL PROTECTED] wrote: Jim pointed out some places where the openvz driver could deference some NULs, so this patch fixes them ... Index: src/openvz_driver.c

Re: [libvirt] [PATCH] Implement vol delete for disk pools

2008-09-08 Thread Daniel Veillard
On Fri, Sep 05, 2008 at 11:17:27PM -0400, Cole Robinson wrote: static int virStorageBackendDiskDeleteVol(virConnectPtr conn, - virStoragePoolObjPtr pool ATTRIBUTE_UNUSED, - virStorageVolDefPtr vol ATTRIBUTE_UNUSED, +

Re: [libvirt] PATCH: Fix NULL checks in openvz driver

2008-09-08 Thread Jim Meyering
Daniel P. Berrange [EMAIL PROTECTED] wrote: On Fri, Sep 05, 2008 at 05:40:16PM +0200, Jim Meyering wrote: ... All looks correct. However, I'm a little nervous about hard-coding those '[3]'s. What if someone inserts a new --foo option somewhere before the NULL place-holder, or otherwise

Re: [libvirt] libvirt vs XenAPI

2008-09-08 Thread Daniel Veillard
On Mon, Sep 08, 2008 at 08:56:49AM +0100, atif bajwa wrote: So the question is, Is there any particular reason that RHEL 5.2 did not upgrade Xen user space tools/libs. Yes that's called API and ABI compatibility in a RHEL product lifetime! And by definition this will remain for all RHEL 5,

[libvirt] [RFC][PATCH] virt-manager calls migration API

2008-09-08 Thread S.Sakamoto
Hi, I just make the proto patch that calls migration API from virt-manager. Form unity point of view, This proto patch adds Migrate in as same layer as operations for the Domain. Fisrt, this patch adds Migrate to the right-click menu when selected a domain. Run Run Pause

Re: [libvirt] network domain name patch

2008-09-08 Thread Daniel Veillard
On Sat, Sep 06, 2008 at 03:14:45PM -0400, JJ Reynolds wrote: Hi all, This is a followup to the excellent patch which allows static IP address assignment. The problem with that patch is that you can only set the host name and cannot set a FQDN because dnsmasq will, as a security measure,

Re: [libvirt] libvirt vs XenAPI

2008-09-08 Thread Daniel P. Berrange
On Mon, Sep 08, 2008 at 08:56:49AM +0100, atif bajwa wrote: So the question is, Is there any particular reason that RHEL 5.2 did not upgrade Xen user space tools/libs. Novell SLES/SLED 10 SP2 and Oracle VM 2.1.x have upgraded the user space libs for remote management of Xen infrastructure.

Re: [libvirt] libvirt vs XenAPI

2008-09-08 Thread atif bajwa
Thanks, With Xen 3.3, the Xen Client Initiative (XCI) is out, a Xen.org community effort to accelerate and coordinate the development of fast, free, compatible embedded Xen hypervisors for laptops, PCs and PDAs. Don't you think the XenApi or similar technologies be right choice for remote

Re: [libvirt] libvirt vs XenAPI

2008-09-08 Thread Daniel P. Berrange
On Mon, Sep 08, 2008 at 01:49:53PM +0100, atif bajwa wrote: Thanks, With Xen 3.3, the Xen Client Initiative (XCI) is out, a Xen.org community effort to accelerate and coordinate the development of fast, free, compatible embedded Xen hypervisors for laptops, PCs and PDAs. Don't you think the

Re: [libvirt] PATCH: Fix NULL checks in openvz driver

2008-09-08 Thread Evgeniy Sokolov
On Fri, Sep 05, 2008 at 05:40:16PM +0200, Jim Meyering wrote: Daniel P. Berrange [EMAIL PROTECTED] wrote: Jim pointed out some places where the openvz driver could deference some NULs, so this patch fixes them ... Index: src/openvz_driver.c

Re: [libvirt] PATCH: Fix NULL checks in openvz driver

2008-09-08 Thread Daniel P. Berrange
On Mon, Sep 08, 2008 at 04:06:26PM +0400, Evgeniy Sokolov wrote: On Fri, Sep 05, 2008 at 05:40:16PM +0200, Jim Meyering wrote: Daniel P. Berrange [EMAIL PROTECTED] wrote: Jim pointed out some places where the openvz driver could deference some NULs, so this patch fixes them ... Index:

Re: [libvirt] [PATCH] Determine kvm max vcpus via version number

2008-09-08 Thread Daniel Veillard
On Fri, Sep 05, 2008 at 12:25:16PM -0400, Cole Robinson wrote: The attached patch is a slimmed down version of a patch I posted a while back. This expands qemu help message parsing to look for a kvm version number, which can be used to determine maximum supported vcpus. A kvmVersion field

Re: [libvirt] Mac Port of Libvirt

2008-09-08 Thread Daniel Veillard
On Fri, Sep 05, 2008 at 11:43:41AM -0700, Yushu Yao wrote: Thanks Daniel, Now support for local virtualization (QEmu for example) would be a more complex issue but probably not much more complex than existing linux hypervisor support. Why is this more complex? Could you please explain

Re: [libvirt] PATCH: Fix NULL checks in openvz driver

2008-09-08 Thread Daniel Veillard
On Mon, Sep 08, 2008 at 11:51:28AM +0200, Jim Meyering wrote: Daniel P. Berrange [EMAIL PROTECTED] wrote: On Fri, Sep 05, 2008 at 05:40:16PM +0200, Jim Meyering wrote: ... All looks correct. However, I'm a little nervous about hard-coding those '[3]'s. What if someone inserts a new --foo

Re: [libvirt] [PATCH]Fix minor issues in logical storage backend

2008-09-08 Thread Daniel Veillard
On Thu, Sep 04, 2008 at 02:21:34PM +0100, Daniel P. Berrange wrote: On Thu, Sep 04, 2008 at 03:13:45PM +0200, Daniel Veillard wrote: So there is an initialization of the field. It's unclear to me if the two should be OR'ed, or should be kept as-is, if we have the pool name do we need to

Re: [libvirt] LXC: making the private root filesystem more secure

2008-09-08 Thread Daniel Veillard
On Thu, Sep 04, 2008 at 12:50:35PM -0700, Dan Smith wrote: DV I just checked the libcgroup heaer file available under Fedora 9 DV and I'm a bit afraid of the dependancy. They expose a lot of DV structure, some clearly incomplete, which means liking to it in its DV current state may turn into a

Re: [libvirt] network domain name patch

2008-09-08 Thread Daniel Veillard
[ Hum, I don't know why it seems my first mail didn't make it to the list, so reposting !] On Sun, Sep 07, 2008 at 06:37:16PM +0200, Daniel Veillard wrote: On Sat, Sep 06, 2008 at 03:14:45PM -0400, JJ Reynolds wrote: Hi all, This is a followup to the excellent patch which allows static

[libvirt] ld: unknown option: --version-script

2008-09-08 Thread Yushu Yao
Hi All, A question when porting to Mac. It says: ld: unknown option: --version-script=./libvirt_sym.version collect2: ld returned 1 exit status make[2]: *** [libvirt.la] Error 1 Indeed --version-script doesn't exist in mac's ld. Can I change it to something else

Re: [libvirt] network domain name patch

2008-09-08 Thread Daniel Veillard
On Sat, Sep 06, 2008 at 03:14:45PM -0400, JJ Reynolds wrote: Hi all, This is a followup to the excellent patch which allows static IP address assignment. The problem with that patch is that you can only set the host name and cannot set a FQDN because dnsmasq will, as a security measure,

[libvirt] Release of libvirt-0.4.5

2008-09-08 Thread Daniel Veillard
It was really time for a new release, the ChangeLog is huge ... Main features are the improvement of OpenVZ and LXC, the uniform XML handling (and hence format) though all drivers, improvements in devices handling for QEmu/KVM and storage pool source discovery. Available as usual at

Re: [libvirt] ld: unknown option: --version-script

2008-09-08 Thread Daniel Veillard
On Mon, Sep 08, 2008 at 08:29:30AM -0700, Yushu Yao wrote: Hi All, A question when porting to Mac. It says: ld: unknown option: --version-script=./libvirt_sym.version collect2: ld returned 1 exit status make[2]: *** [libvirt.la] Error 1 Indeed

Re: [libvirt] [PATCH] read network config in OpenVZ driver

2008-09-08 Thread Daniel Veillard
On Mon, Sep 08, 2008 at 03:59:55PM +0400, Evgeniy Sokolov wrote: This patch add possibility to load network configuration for container in OpenVZ driver. It support routing network and bridge devices. This types is currently supported in create/define command. Also, patch contain fix to

Re: [libvirt] [PATCH] Implement vol delete for disk pools

2008-09-08 Thread Daniel Veillard
On Mon, Sep 08, 2008 at 09:33:40AM -0400, Cole Robinson wrote: Daniel Veillard wrote: +devname = basename(devpath); +srcname = basename(pool-def-source.devices[0].path); This seems to leak the two strings and not check for errors. That would need to be fixed before being

Re: [libvirt] Mac Port of Libvirt

2008-09-08 Thread Daniel P. Berrange
On Mon, Sep 08, 2008 at 09:42:32AM -0700, Yushu Yao wrote: On 9/8/08 12:17 AM, Daniel Veillard [EMAIL PROTECTED] wrote: On Fri, Sep 05, 2008 at 11:43:41AM -0700, Yushu Yao wrote: Thanks Daniel, Now support for local virtualization (QEmu for example) would be a more complex

Re: [libvirt] Does libvirt support Xen on Solaris?

2008-09-08 Thread Mark Johnson
On Fri, Sep 5, 2008 at 4:08 AM, atif bajwa [EMAIL PROTECTED] wrote: Thanks, But does libvirt supports xVM Virtualbox and xVM Server? I think Sun has published some web services API for these platforms. xVM Virtualbox does not have libvirt support to my knowledge. xVM server will have a

Re: [libvirt] [PATCH] kvm: maxVCPU runtime detection

2008-09-08 Thread Guido Günther
On Fri, Sep 05, 2008 at 12:23:36PM -0400, Cole Robinson wrote: [..snip..] FYI, I'm about to post a patch that builds on this to offer max vcpu checking based on the kvm version which is parsed from the help message. Should also help providing useful values for older kernels and kvm versions.

[libvirt] [PATCH] Fix segfault if no qemu emulator passed

2008-09-08 Thread Cole Robinson
There is unfortunately a pretty prevalent segfault in the latest libvirt. If a qemu domain is defined without an emulator specified, libvirtd crashes. This is doubly unfortunate since current virtinst generates an emulator-less config for all qemu and kvm guests (I'm about to fix this upstream