Re: [libvirt] [PATCH] consolidate virXPathNodeSet()

2009-10-22 Thread Daniel Veillard
On Wed, Oct 21, 2009 at 07:51:45PM +0100, Daniel P. Berrange wrote: On Wed, Oct 21, 2009 at 05:24:03PM +0200, Daniel Veillard wrote: While reviewing Rich last patch I was afraid that virXPathNodeSet() could return -1 when doing an evaluation failure. It is based on xmlXPathEval() from

Re: [libvirt] [PATCH] Fix potential false-positive OOM error reporting

2009-10-22 Thread Daniel Veillard
On Wed, Oct 21, 2009 at 10:41:53PM +0200, Matthias Bolte wrote: If no matching device was found (cap == NULL) then no strdup() call was made and *wwnn and *wwpn are untouched. Checking them for NULL in this situation may result in reporting an false-positive OOM error because *wwnn and *wwpn

Re: [libvirt] how to duplicate an vm?

2009-10-22 Thread Dan Bar Dov
Thanks, I was not aware of virt-clone. Dan On Wed, Oct 21, 2009 at 4:59 PM, Richard W.M. Jones rjo...@redhat.comwrote: On Wed, Oct 21, 2009 at 04:58:00PM +0200, Dan Bar Dov wrote: I am trying to duplicate an existing vm. While the VM was down, I copied the image file, copied the xml file

[libvirt] how can dst know that migration is over?

2009-10-22 Thread Dan Kenigsberg
When migrating a domain from src to dst, it first appears 'suspended' at the dst. When it's 'running', higher-level management can tell that migration is done. However, when bugzilla.redhat.com/519204 is fixed, I can no longer count on that - migrated domain may still be suspended at the

Re: [libvirt] how can dst know that migration is over?

2009-10-22 Thread Daniel P. Berrange
On Thu, Oct 22, 2009 at 12:26:41PM +0200, Dan Kenigsberg wrote: When migrating a domain from src to dst, it first appears 'suspended' at the dst. When it's 'running', higher-level management can tell that migration is done. However, when bugzilla.redhat.com/519204 is fixed, I can no longer

[libvirt] Get Virtual Machine Information

2009-10-22 Thread Gandhiraj Natarajan
Hi    1. We need to know how to get the IP addresses of virtual machines running in Novel Xen Server?  2. We need to know how to get the proper operating system like Windows XP or 2000 or 2003? Thanks in advance    Regards, Gandhiraj Natarajan   Connect more, do more and share more

Re: [libvirt] [PATCH] Fix potential false-positive OOM error reporting

2009-10-22 Thread Cole Robinson
On 10/21/2009 04:41 PM, Matthias Bolte wrote: If no matching device was found (cap == NULL) then no strdup() call was made and *wwnn and *wwpn are untouched. Checking them for NULL in this situation may result in reporting an false-positive OOM error because *wwnn and *wwpn may be initialized

Re: [libvirt] [PATCH 0/3] IPv6 / multi address / report live config in virInterface

2009-10-22 Thread Laine Stump
The related patch is now available on the netcf-devel mailing list, making it possible to review this set ;-) On 10/16/2009 10:56 AM, la...@laine.org wrote: This is the 2nd iteration of this patchset incorporating danpb's suggestions. Along with a couple other minor things, the type attribute

[libvirt] [PATCH] network utilities

2009-10-22 Thread Daniel Veillard
Revamping my previous patches to parse IPv4/6 numeric addresses, adding range computation and netmask checking entries too. As suggested I used an union for the socket address type: typedef union { struct sockaddr_storage stor; struct sockaddr_in inet4; struct sockaddr_in6 inet6; }

[libvirt] cache=none

2009-10-22 Thread Stefan
Hello, * Is it possible to add the kvm -drive-option cache=none to libvirtd.conf ? It's a recommendation of XFS FAQ: http://xfs.org/index.php/XFS_FAQ#Q:_Which_settings_are_best_with_virtualization_like_VMware.2C_XEN.2C_qemu.3F * Is there a generic way to handle kvm options that are not

[libvirt] Suggest to postpone 0.7.3 by one week

2009-10-22 Thread Daniel Veillard
Basically the plan was to enter freeze this week-end and release 0.7.3 on the 30th, but looking at the current logs and status on the list, this may not be appropriate, some of the patches aren't finalized and we would end up with 0.7.3 being mostly 0.7.2 with bug fixes. So I suggest to

Re: [libvirt] cache=none

2009-10-22 Thread Daniel P. Berrange
On Thu, Oct 22, 2009 at 05:23:55PM +0200, Stefan wrote: Hello, * Is it possible to add the kvm -drive-option cache=none to libvirtd.conf ? It's a recommendation of XFS FAQ: http://xfs.org/index.php/XFS_FAQ#Q:_Which_settings_are_best_with_virtualization_like_VMware.2C_XEN.2C_qemu.3F

[libvirt] [PATCH] Fix error message in qemudLoadDriverConfig()

2009-10-22 Thread Matthias Bolte
* src/qemu/qemu_conf.c: change the error message to refer to 'cgroup_controllers' instead of 'cgroup_device_acl' --- src/qemu/qemu_conf.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c index 158e9a3..a095cb7 100644 ---

Re: [libvirt] how can dst know that migration is over?

2009-10-22 Thread Dan Kenigsberg
On Thu, Oct 22, 2009 at 12:07:49PM +0100, Daniel P. Berrange wrote: On Thu, Oct 22, 2009 at 12:26:41PM +0200, Dan Kenigsberg wrote: When migrating a domain from src to dst, it first appears 'suspended' at the dst. When it's 'running', higher-level management can tell that migration is done.

Re: [libvirt] how can dst know that migration is over?

2009-10-22 Thread Daniel P. Berrange
On Thu, Oct 22, 2009 at 05:58:30PM +0200, Dan Kenigsberg wrote: On Thu, Oct 22, 2009 at 12:07:49PM +0100, Daniel P. Berrange wrote: On Thu, Oct 22, 2009 at 12:26:41PM +0200, Dan Kenigsberg wrote: When migrating a domain from src to dst, it first appears 'suspended' at the dst. When it's

[libvirt] [PATCH] add bootp server=...

2009-10-22 Thread Paolo Bonzini
This patch adds an optional attribute to the bootp tag, that allows to specify a TFTP server address other than the address of the DHCP server itself. This can be used to forward the BOOTP settings of the host down to the guest. This is something that configurations such as Xen's default network

Re: [libvirt] cache=none

2009-10-22 Thread Stefan
* Is it generally a bad idea to use XFS with KVM ? I don't know of any problems with using XFS, there was a bug a long while back with a combo of AIO + sparse files, but that's long since fixed. There are several warnings using XFS with KVM because of the intensive Write-Caching. Are

Re: [libvirt] cache=none

2009-10-22 Thread Daniel P. Berrange
On Thu, Oct 22, 2009 at 06:33:25PM +0200, Stefan wrote: * Is it generally a bad idea to use XFS with KVM ? I don't know of any problems with using XFS, there was a bug a long while back with a combo of AIO + sparse files, but that's long since fixed. There are several warnings

[libvirt] iSCSI Multi-IQN (Libvirt Support)

2009-10-22 Thread Shyam_Iyer
The following patch set realizes the multi-IQN concept discussed in an earlier thread http://www.mail-archive.com/libvir-list@redhat.com/msg16706.html The patch realizes an XML schema like the one below and allows libvirt to read through it to create storage pools. These XMLs when created using

Re: [libvirt] [PATCH] add bootp server=...

2009-10-22 Thread Cole Robinson
On 10/22/2009 12:20 PM, Paolo Bonzini wrote: This patch adds an optional attribute to the bootp tag, that allows to specify a TFTP server address other than the address of the DHCP server itself. This can be used to forward the BOOTP settings of the host down to the guest. This is

Re: [libvirt] iSCSI Multi-IQN (Libvirt Support)

2009-10-22 Thread Cole Robinson
On 10/22/2009 01:50 PM, shyam_i...@dell.com wrote: snip diff --git a/src/storage_backend_iscsi.c b/src/storage_backend_iscsi.c index b516add..3f2a79d 100644 --- a/src/storage_backend_iscsi.c +++ b/src/storage_backend_iscsi.c @@ -39,6 +39,10 @@ #include storage_backend_iscsi.h #include

Re: [libvirt] iSCSI Multi-IQN (Libvirt Support)

2009-10-22 Thread Laine Stump
On 10/22/2009 03:05 PM, Cole Robinson wrote: Looks like the patch was mangled. Just pasting the patch into your client probably won't be sufficient. I'd recommend git format-patch and git send-email, or just attach the patch file. Actually, I found out earlier today that when a patch is

Re: [libvirt] iSCSI Multi-IQN (Libvirt Support)

2009-10-22 Thread Daniel P. Berrange
On Thu, Oct 22, 2009 at 03:33:37PM -0400, Laine Stump wrote: On 10/22/2009 03:05 PM, Cole Robinson wrote: Looks like the patch was mangled. Just pasting the patch into your client probably won't be sufficient. I'd recommend git format-patch and git send-email, or just attach the patch file.

RE: [libvirt] iSCSI Multi-IQN (Libvirt Support)

2009-10-22 Thread Shyam_Iyer
-Original Message- From: Cole Robinson [mailto:crobi...@redhat.com] Sent: Friday, October 23, 2009 12:35 AM To: Iyer, Shyam Cc: libvir-list@redhat.com; Bellad, Sudhir; Domsch, Matt; KM, Paniraja Subject: Re: [libvirt] iSCSI Multi-IQN (Libvirt Support) On 10/22/2009 01:50 PM,

RE: [libvirt] Re: iSCSI Multi-IQN (Libvirt Support)

2009-10-22 Thread Shyam_Iyer
I like the functionality. To restate what I said when you first proposed it, though, each pool is currently based on one iSCSI session, so to preserve that paradigm, you should only allow zero or one initiator IQNs per pool. If the pool contains an initiator IQN, it will be used when

Re: [libvirt] [PATCH] network utilities

2009-10-22 Thread Laine Stump
(AHA! Just figured out how to get a patch sent as an attached file into the reply when using Thunderbird - 1) make sure Thunderbird is configured to display text attachments inline, 2) select everything in the original message (with ctrl-A), *then* 3) hit the reply button) On 10/22/2009 10:46

Re: [libvirt] iSCSI Multi-IQN (Libvirt Support)

2009-10-22 Thread Laine Stump
On 10/22/2009 03:38 PM, Daniel P. Berrange wrote: On Thu, Oct 22, 2009 at 03:33:37PM -0400, Laine Stump wrote: On 10/22/2009 03:05 PM, Cole Robinson wrote: Looks like the patch was mangled. Just pasting the patch into your client probably won't be sufficient. I'd recommend git

Re: [libvirt] Re: iSCSI Multi-IQN (Libvirt Support)

2009-10-22 Thread Dave Allan
shyam_i...@dell.com wrote: I like the functionality. To restate what I said when you first proposed it, though, each pool is currently based on one iSCSI session, so to preserve that paradigm, you should only allow zero or one initiator IQNs per pool. If the pool contains an initiator IQN,

[libvirt] libvirt update problem

2009-10-22 Thread Gerry Reno
# yum list 'libvirt' Loaded plugins: dellsysidplugin2, fastestmirror, installonlyn, refresh-packagekit, versionlock Loading mirror speeds from cached hostfile Excluding mirror: mirror.newnanutilities.org * fedora: mirror.hiwaay.net * updates: mirror.hiwaay.net Reading version lock configuration

Re: [libvirt] libvirt update problem

2009-10-22 Thread Gerry Reno
Gerry Reno wrote: # yum list 'libvirt' Loaded plugins: dellsysidplugin2, fastestmirror, installonlyn, refresh-packagekit, versionlock Loading mirror speeds from cached hostfile Excluding mirror: mirror.newnanutilities.org * fedora: mirror.hiwaay.net * updates: mirror.hiwaay.net Reading version