Re: [libvirt] [PATCH] Added timestamps to storage volumes

2012-07-16 Thread Hendrik Schwartke
On 13.07.2012 17:14, Eric Blake wrote: On 07/13/2012 08:38 AM, Hendrik Schwartke wrote: !!! DON'T PUSH until stat-time lgpl 3 issue is fixed !!! To tests this change lgpl version to 3 in bootstrap.conf:176 The access, birth, modification and change times are added to storage volumes and

Re: [libvirt] [PATCH] Added timestamps to storage volumes

2012-07-16 Thread Hendrik Schwartke
On 16.07.2012 09:45, Hendrik Schwartke wrote: On 13.07.2012 17:14, Eric Blake wrote: On 07/13/2012 08:38 AM, Hendrik Schwartke wrote: !!! DON'T PUSH until stat-time lgpl 3 issue is fixed !!! To tests this change lgpl version to 3 in bootstrap.conf:176 The access, birth, modification and

Re: [libvirt] [PATCHv3] docs: Improve patch submission guidelines

2012-07-16 Thread Daniel P. Berrange
On Fri, Jul 13, 2012 at 02:45:34PM -0600, Eric Blake wrote: On 07/12/2012 03:44 AM, Michal Privoznik wrote: We should really advise (new) developers to send rebased patches that apply cleanly and use git-send-email rather than all other obscure ways. --- diff to v2: -Eric's

Re: [libvirt] [PATCH] configure: rbd doesn't need -lcrypto

2012-07-16 Thread Daniel P. Berrange
On Sun, Jul 15, 2012 at 01:24:25PM -0400, Cole Robinson wrote: See https://www.redhat.com/archives/libvir-list/2012-July/msg00493.html Basically building against librbd doesn't seem to actually require -lcrypto. Also report the rbd linker flags in configure output Signed-off-by: Cole

Re: [libvirt] [PATCHv3] docs: Improve patch submission guidelines

2012-07-16 Thread Michal Privoznik
On 16.07.2012 10:06, Daniel P. Berrange wrote: On Fri, Jul 13, 2012 at 02:45:34PM -0600, Eric Blake wrote: On 07/12/2012 03:44 AM, Michal Privoznik wrote: We should really advise (new) developers to send rebased patches that apply cleanly and use git-send-email rather than all other obscure

[libvirt] Question about contribution

2012-07-16 Thread Benjamin Wang (gendwang)
Hi, I am from Cisco. Now we want to use and contribute to Libvirt. One simple question is as following: If our product needs a new feature for Libvirt, what is the process to submit our contribution to Libvirt? Must we be approved by some committee? B.R. Benjamin -- libvir-list mailing list

Re: [libvirt] Question about contribution

2012-07-16 Thread Michal Privoznik
On 16.07.2012 11:10, Benjamin Wang (gendwang) wrote: Hi, I am from Cisco. Now we want to use and contribute to Libvirt. One simple question is as following: If our product needs a new feature for Libvirt, what is the process to submit our contribution to Libvirt? Must we be approved

Re: [libvirt] Question about contribution

2012-07-16 Thread Daniel P. Berrange
On Mon, Jul 16, 2012 at 09:10:23AM +, Benjamin Wang (gendwang) wrote: Hi, I am from Cisco. Now we want to use and contribute to Libvirt. One simple question is as following: If our product needs a new feature for Libvirt, what is the process to submit our contribution to Libvirt? Must

Re: [libvirt] [glib PATCH V6] Add bindings for virDomainSave*()

2012-07-16 Thread Daniel P. Berrange
On Sat, Jul 14, 2012 at 04:10:30AM +0300, Zeeshan Ali (Khattak) wrote: Looks pretty good. I already pushed it with a few small corrections as pointed out below (Please do have a look at them for future reference). Congratulations on your first patch to libvirt-glib. :) I added Jovanka to the

Re: [libvirt] [PATCH] qemu: Fix probing for guest capabilities

2012-07-16 Thread Jiri Denemark
On Fri, Jul 13, 2012 at 09:19:42 -0600, Eric Blake wrote: On 07/13/2012 09:00 AM, Jiri Denemark wrote: Even though qemu-kvm binaries can be used in TCG mode, libvirt would only detect them if /dev/kvm was available. Thus, one would need to make a /usr/bin/qemu symlink to be able to use TCG

Re: [libvirt] [PATCH] qemu: Do not fail virConnectCompareCPU if host CPU is not known

2012-07-16 Thread Jiri Denemark
On Sat, Jul 14, 2012 at 23:31:52 +0300, Dan Kenigsberg wrote: On Thu, Jul 12, 2012 at 01:06:08PM +0200, Jiri Denemark wrote: When host CPU could not be properly detected, virConnectCompareCPU will just report that any CPU is incompatible with host CPU instead of failing. ---

Re: [libvirt] [PATCH] ARMHF: CPU Support for armhf.

2012-07-16 Thread Jiri Denemark
On Fri, Jul 13, 2012 at 11:58:23 -0400, Chuck Short wrote: On Fri, 13 Jul 2012 09:14:47 +0200 Jiri Denemark jdene...@redhat.com wrote: On Thu, Jul 12, 2012 at 13:39:02 -0500, Chuck Short wrote: Adding CPU encoder/decoder for armhf to avoid runtime error messages. I would still be

[libvirt] New application

2012-07-16 Thread Maciej Nabożny
Hello, I'm developer of CC1 project in Institute of Nuclear Physics in Cracow. We are creating cloud computing system based on Libvirt. Is it possible to add link to our project at yours website in applications section? Title: CC1 Project (http://cc1.ifj.edu.pl) Description: The Cloud

[libvirt] [ANNOUNCE] libvirt-glib 0.1.0 release

2012-07-16 Thread Daniel P. Berrange
I am pleased to announce that a new release of the libvirt-glib package, version 0.1.0 is now available from ftp://libvirt.org/libvirt/glib/ The packages are GPG signed with Key fingerprint: DAF3 A6FD B26B 6291 2D0E 8E3F BE86 EBB4 1510 4FDF (4096R) New in this release: - Add setters

[libvirt] [PATCH] storage: netfs and iscsi need option srcSpec for resource discovery

2012-07-16 Thread Guannan Ren
The option 'srcSpec' to virsh command find-storage-pool-sources is optional for logical type of storage pool, but mandatory for netfs and iscsi type. When missing the option for netfs and iscsi, libvirt reports XML parsing error due to null string option srcSpec. error: Failed to find any netfs

Re: [libvirt] [PATCH 03/13] Rewrite virAtomic APIs using GLib's atomic ops code

2012-07-16 Thread Daniel P. Berrange
On Fri, Jul 13, 2012 at 03:44:03PM -0600, Eric Blake wrote: On 07/11/2012 07:35 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com There are a few issues with the current virAtomic APIs - They require use of a virAtomicInt struct instead of a plain int

Re: [libvirt] [PATCH 04/13] Add a generic reference counted virObject type

2012-07-16 Thread Daniel P. Berrange
On Fri, Jul 13, 2012 at 04:38:26PM -0600, Eric Blake wrote: On 07/11/2012 07:35 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com This introduces a fairly basic reference counted virObject type and an associated virClass type, that use atomic operations for ref

Re: [libvirt] New application

2012-07-16 Thread Guido Günther
On Mon, Jul 16, 2012 at 12:17:49PM +0200, Maciej Nabożny wrote: Hello, I'm developer of CC1 project in Institute of Nuclear Physics in Cracow. We are creating cloud computing system based on Libvirt. Is it possible to add link to our project at yours website in applications section? Title:

Re: [libvirt] New application

2012-07-16 Thread Eric Blake
On 07/16/2012 04:17 AM, Maciej Nabożny wrote: Hello, I'm developer of CC1 project in Institute of Nuclear Physics in Cracow. We are creating cloud computing system based on Libvirt. Is it possible to add link to our project at yours website in applications section? Title: CC1 Project

[libvirt] ESX: failure while performing CastFromAnyType

2012-07-16 Thread Ata E Husain Bohra
Hi All, I am trying to extend “iscsi” support for iSCSI driver, currently am stuck at getting iSCSI target list from the hypervisor. I am using hostSystem object (propertyNameList is set to “config.storageDevice.hostBusAdapter”) to retrieve list of “HostHostBusAdapter” from ESX, but the call

[libvirt] ESX: failure while performing CastFromAnyType

2012-07-16 Thread Ata E Husain Bohra
Hi All, I am trying to extend “iscsi” support for iSCSI driver, currently am stuck at getting iSCSI target list from the hypervisor. I am using hostSystem object (propertyNameList is set to “config.storageDevice.hostBusAdapter”) to retrieve list of “HostHostBusAdapter” from ESX, but the call

Re: [libvirt] [PATCH v2] Convert 'raw MAC address' usages to use virMacAddr

2012-07-16 Thread Eric Blake
On 07/16/2012 05:14 AM, Stefan Berger wrote: Introduce new members in the virMacAddr 'class' - virMacAddrSet: set virMacAddr from a virMacAddr - virMacAddrSetRaw: setting virMacAddr from raw 6 byte MAC address buffer - virMacAddrGetRaw: writing virMacAddr into raw 6 byte MAC address buffer -

Re: [libvirt] [PATCH 03/13] Rewrite virAtomic APIs using GLib's atomic ops code

2012-07-16 Thread Eric Blake
On 07/16/2012 09:45 AM, Daniel P. Berrange wrote: On Fri, Jul 13, 2012 at 03:44:03PM -0600, Eric Blake wrote: On 07/11/2012 07:35 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com There are a few issues with the current virAtomic APIs + +# define

Re: [libvirt] [PATCH 04/13] Add a generic reference counted virObject type

2012-07-16 Thread Eric Blake
On 07/16/2012 09:52 AM, Daniel P. Berrange wrote: Object references can be manipulated with virObjectRef(conn) virObjectUnref(conn) The latter returns a true value, if the object has been freed (ie its ref count hit zero) Should these return the resulting refcount, and/or add a

Re: [libvirt] [PATCH 05/13] Convert public datatypes to inherit from virObject

2012-07-16 Thread Eric Blake
On 07/11/2012 07:35 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com This converts the following public API datatypes to use the virObject infrastructure: @@ -426,6 +316,9 @@ virInterfacePtr virGetInterface(virConnectPtr conn, const char *name, const char *mac)