Re: [libvirt] Does libvirt support spice agent-mouse?

2012-02-28 Thread Osier Yang
On 2012年02月28日 16:30, Zhou Peng wrote: Hi all, How to set the qemu-kvm argv agent-mouse=on/off option in libvirt xml file pls? It's not yet supported, as an alternative way, you can use qemu:commandline instead temporarily. There is example here: http://libvirt.org/drvqemu.html

[libvirt] [libvirt-TCK][PATCH] use 'raw' format as the format of backing file of qcow2 image

2012-02-28 Thread Guannan Ren
If we don't explicitly specify the format of backing file, it should use raw by default, if so, libvirt's security drivers should *not* grant access to the last.img file the guest should not see the last.img data. That is the purpose of testing. ---

Re: [libvirt] [PATCHv4 0/3] Xen: Fix clock handling

2012-02-28 Thread Philipp Hahn
Hello, On Tuesday 14 February 2012 19:07:21 Philipp Hahn wrote: Before version 3.1 xen only implemented clock/@offset='utc' and 'localtime'. With the introduction of managed domains in 3.1 xend keeps track of the rtc_timeoffset, even over reboots. This translates to  libvirts

Re: [libvirt] [PATCH] qemu: fix cleanup of bridge during failure of qemuDomainAttachNetDevice

2012-02-28 Thread Laine Stump
On 02/27/2012 01:15 PM, Eric Blake wrote: On 02/25/2012 04:40 PM, Laine Stump wrote: From: Laine Stump la...@redhat.com In qemuDomainAttachNetDevice, the guest's tap interface has only been attached to the bridge if iface_connected is true. It's possible for an error to occur prior to that

Re: [libvirt] [PATCH] libxl: eliminate memory leak in libxmlDomainModifyDeviceFlags

2012-02-28 Thread Laine Stump
On 02/27/2012 01:11 PM, Eric Blake wrote: On 02/27/2012 04:01 AM, Laine Stump wrote: I found this randomly by examination when a tag search led me to this file. I don't have a setup to test it, but it appears fairly obvious that this call to virDomainDeviceDefParse is both unnecessary (since

Re: [libvirt] libvirt TCK wrapper for autotest review

2012-02-28 Thread Guannan Ren
On 02/24/2012 07:50 PM, Lucas Meneghel Rodrigues wrote: On 02/23/2012 12:27 PM, Guannan Ren wrote: Hi Lucas, Thanks for your these good modifications. There is one place I noticed where you output each testcase of *.t into a separate file with .tap extension. hence, it has a corresponding log

[libvirt] [PATCH] qemu: Don't emit tls-port spice option if port is -1

2012-02-28 Thread Jiri Denemark
Bug introduced by commit eda0fc7a. --- src/qemu/qemu_command.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 01adf0d..5e0ca95 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -5345,13

Re: [libvirt] [PATCH] qemu: Don't emit tls-port spice option if port is -1

2012-02-28 Thread Daniel P. Berrange
On Tue, Feb 28, 2012 at 02:16:56PM +0100, Jiri Denemark wrote: Bug introduced by commit eda0fc7a. --- src/qemu/qemu_command.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 01adf0d..5e0ca95 100644

[libvirt] [PATCH RFC]: Support numad

2012-02-28 Thread Osier Yang
numad is an user-level daemon that monitors NUMA topology and processes resource consumption to facilitate good NUMA resource alignment of applications/virtual machines to improve performance and minimize cost of remote memory latencies. It provides a pre-placement advisory interface, so

Re: [libvirt] [PATCH] qemu: Don't emit tls-port spice option if port is -1

2012-02-28 Thread Jiri Denemark
On Tue, Feb 28, 2012 at 13:21:21 +, Daniel P. Berrange wrote: On Tue, Feb 28, 2012 at 02:16:56PM +0100, Jiri Denemark wrote: Bug introduced by commit eda0fc7a. --- src/qemu/qemu_command.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git

[libvirt] [PATCH 1/1] complete netlink event integration

2012-02-28 Thread D. Herrendoerfer
From: D. Herrendoerfer d.herrendoer...@herrendoerfer.name this patch adds the changes proposed by Laine Stump to netlink event code. Signed-off-by: D. Herrendoerfer d.herrendoer...@herrendoerfer.name --- src/util/virnetdevmacvlan.c | 47 +-

Re: [libvirt] [PATCH 1/1] Clarify what documentation is being referenced

2012-02-28 Thread Dave Allan
On Mon, Feb 27, 2012 at 04:02:44PM -0700, Eric Blake wrote: On 02/27/2012 03:51 PM, Dave Allan wrote: virsh.pod had several instances in which it referred to the documentation which was a little puzzling to me since it is documentation. Reading the document from end to end makes it clear

Re: [libvirt] [PATCHv2] Error out when using SPICE TLS with spice_tls=0

2012-02-28 Thread Michal Privoznik
On 24.02.2012 11:34, Christophe Fergeau wrote: It's possible to disable SPICE TLS in qemu.conf. When this happens, libvirt ignores any SPICE TLS port or x509 directory that may have been set when it builds the qemu command line to use. However, it's not ignoring the secure channels that may

Re: [libvirt] [PATCH] qemu: Don't emit tls-port spice option if port is -1

2012-02-28 Thread Michal Privoznik
On 28.02.2012 14:16, Jiri Denemark wrote: Bug introduced by commit eda0fc7a. --- src/qemu/qemu_command.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) ACK Michal -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [PATCH] docs: Fix libvirt name in qemu commandline namespace URL

2012-02-28 Thread Michal Privoznik
s/libirt/libvirt/g --- Pushed under trivial rule. docs/drvqemu.html.in |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/drvqemu.html.in b/docs/drvqemu.html.in index fc76829..9afae13 100644 --- a/docs/drvqemu.html.in +++ b/docs/drvqemu.html.in @@ -551,7 +551,7 @@ $

Re: [libvirt] [PATCH RFC]: Support numad

2012-02-28 Thread Dave Allan
On Tue, Feb 28, 2012 at 10:10:50PM +0800, Osier Yang wrote: numad is an user-level daemon that monitors NUMA topology and processes resource consumption to facilitate good NUMA resource alignment of applications/virtual machines to improve performance and minimize cost of remote memory

Re: [libvirt] [PATCH RFC]: Support numad

2012-02-28 Thread Daniel P. Berrange
On Tue, Feb 28, 2012 at 11:33:03AM -0500, Dave Allan wrote: On Tue, Feb 28, 2012 at 10:10:50PM +0800, Osier Yang wrote: numad is an user-level daemon that monitors NUMA topology and processes resource consumption to facilitate good NUMA resource alignment of applications/virtual machines to

Re: [libvirt] [PATCH RFC]: Support numad

2012-02-28 Thread Dave Allan
On Tue, Feb 28, 2012 at 04:40:06PM +, Daniel P. Berrange wrote: On Tue, Feb 28, 2012 at 11:33:03AM -0500, Dave Allan wrote: On Tue, Feb 28, 2012 at 10:10:50PM +0800, Osier Yang wrote: numad is an user-level daemon that monitors NUMA topology and processes resource consumption to

[libvirt] Fwd: for help

2012-02-28 Thread 李成双
-- 已转发邮件 -- 发件人: 李成双 lichengshu...@gmail.com 日期: 2012年2月28日 下午8:15 主题: for help 收件人: net...@crc.id.au hi Some of the problems encountered in the installation process your document to you for help. PASS: vmx2xmltest TEST: xml2vmxtest

[libvirt] [PATCH 2/4] libvirt-guests: Don't try to do a managed-save of transient guests

2012-02-28 Thread Peter Krempa
The libvirt-guests script tried to do a managed save of transient guest that failed. This patch notifies which guests are transient (and not being saved) and saves only the persistent ones. --- tools/libvirt-guests.init.sh | 37 +++-- 1 files changed, 35

[libvirt] [PATCH 3/4] libvirt-guests: Check if URI is reachable before launching commands

2012-02-28 Thread Peter Krempa
This patch adds a check to the libvirt-guests script to check for the URI to be alive before attempting any calls. This avoids nasty error messages and allows us to fail gracefuly and continue on other URIs configured in the script. --- tools/libvirt-guests.init.sh | 24 +++-

[libvirt] [PATCH 1/4] libvirt-guests: Add documentation and clean up to use virsh's improved list

2012-02-28 Thread Peter Krempa
This patch adds documentation to functions defined in the libvirt-guests init script and changes use of virsh's new commands to make the script easier. --- tools/libvirt-guests.init.sh | 60 -- 1 files changed, 40 insertions(+), 20 deletions(-) diff

[libvirt] [PATCH 0/4] libvirt-guests: improve behavior of the guests script

2012-02-28 Thread Peter Krempa
This patchset tweaks the libvirt guest script to enable parallel shutdown of guests and fix some bugs that appeared through time. Peter Krempa (4): libvirt-guests: Add documentation and clean up to use virsh's improved list libvirt-guests: Don't try to do a managed-save of transient

[libvirt] [PATCH 4/4] libvirt-guests: Add parallel startup and shutdown of guests

2012-02-28 Thread Peter Krempa
With this patch, it's possible to shut down guests in parallel. Parallel startup was possible before, but this functionality was not documented properly. To enable parallel startup set the START_DELAY to 0. Parallel shutdown has a configurable parameter PARALLEL_SHUTDOWN that defines the number

Re: [libvirt] Fwd: for help

2012-02-28 Thread Eric Blake
On 02/28/2012 05:17 AM, 李成双 wrote: -- 已转发邮件 -- 发件人: 李成双 lichengshu...@gmail.com 日期: 2012年2月28日 下午8:15 主题: for help 收件人: net...@crc.id.au hi Some of the problems encountered in the installation process your document to you for help. Thanks for the report; however...

[libvirt] [libvirt-glib 1/6] Getters for GVirConfigDomainInterface attributes

2012-02-28 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- libvirt-gconfig/libvirt-gconfig-domain-interface.c | 35 libvirt-gconfig/libvirt-gconfig-domain-interface.h |4 ++ libvirt-gconfig/libvirt-gconfig.sym|4 ++ 3 files changed, 43 insertions(+), 0

[libvirt] [libvirt-glib 3/6] Add gvir_domain_device_get_domain()

2012-02-28 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Getter for the associated domain of a domain device. --- libvirt-gobject/libvirt-gobject-domain-device.c | 10 ++ libvirt-gobject/libvirt-gobject-domain-device.h |3 +++ libvirt-gobject/libvirt-gobject.sym |1 + 3

[libvirt] [libvirt-glib 4/6] Add 'config' property to GVirDomainDevice

2012-02-28 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org GVirDomainDevice should have an associated GVirConfigDomainDevice. --- libvirt-gobject/libvirt-gobject-domain-device.c | 32 +++ libvirt-gobject/libvirt-gobject-domain-device.h |1 + libvirt-gobject/libvirt-gobject.sym

[libvirt] [libvirt-glib 2/6] Add gvir_domain_disk_resize()

2012-02-28 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Binding for virDomainBlockResize(). --- libvirt-gobject/libvirt-gobject-domain-disk.c | 38 + libvirt-gobject/libvirt-gobject-domain-disk.h |4 ++ libvirt-gobject/libvirt-gobject.sym |1 + 3 files

[libvirt] [libvirt-glib 5/6] Remove now redundant 'path' property

2012-02-28 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Remove now redundant 'path' property from GVirDomainDevice subclasses. --- libvirt-gobject/libvirt-gobject-domain-disk.c | 88 libvirt-gobject/libvirt-gobject-domain-disk.h |3 +-

[libvirt] [libvirt-glib 6/6] Add gvir_domain_get_devices()

2012-02-28 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Currently we only support existing DomainDevice implementations: DomainDisk and DomainInterface. --- .../libvirt-gobject-domain-device-private.h|2 + libvirt-gobject/libvirt-gobject-domain-device.c| 21 ++

Re: [libvirt] [Resending] [PATCH 2/2] Allow x86 to fetch sysinfo from /proc/cpuinfo when dmidecode is absent.

2012-02-28 Thread Daniel P. Berrange
On Fri, Feb 17, 2012 at 01:00:22PM +0530, Prerna wrote: The last patch was mangled by my mailer, resending. From: Prerna Saxena pre...@linux.vnet.ibm.com Date: Thu, 16 Feb 2012 15:33:43 +0530 Subject: [PATCH 2/2] Sysinfo : Allow x86 to fetch sysinfo from /proc/cpuinfo in the event

Re: [libvirt] [PATCH 1/2] Implement sysinfo on PowerPC.

2012-02-28 Thread Daniel P. Berrange
On Thu, Feb 16, 2012 at 05:56:22PM +0530, Prerna wrote: From: Prerna Saxena pre...@linux.vnet.ibm.com Date: Tue, 17 Feb 2012 16:55:26 +0530 Subject: [PATCH 1/2] Implement sysinfo on PowerPC. Libvirt on x86 parses 'dmidecode' to gather characteristics of host system, which are then reflected

[libvirt] [PATCHv2 00/17] Support for interface type='hostdev'

2012-02-28 Thread Laine Stump
This series of patches enhances the interface device to support a sort of intelligent hostdev, i.e. PCI passthrough where device-type specific initialization is done prior to assigning the device to the guest, in particular to allow setting the MAC address and do 802.1QbX setup for network

[libvirt] [PATCH 01/17] conf: add missing device types to virDomainDevice(Type|Def)

2012-02-28 Thread Laine Stump
Not all device types were represented in virDomainDeviceType, so some types of devices couldn't be represented in a virDomainDeviceDef (which requires a different type of pointer in the union for each different kind of device). Since serial, parallel, channel, and console devices are all

[libvirt] [PATCH 02/17] conf: relocate virDomainDeviceDef and virDomainHostdevDef

2012-02-28 Thread Laine Stump
This patch is only code movement + adding some forward definitions of typedefs. virDomainHostdevDef (not just a pointer to it, but an actual object) will be needed in virDomainNetDef and virDomainActualNetDef, so it must be relocated earlier in the file. Likewise, virDomainDeviceDef will be

[libvirt] [PATCH 09/17] conf: put subsys part of virDomainHostdevDef into its own struct

2012-02-28 Thread Laine Stump
To shorten some new code that accesses the many fields within the subsys struct of a hostdev, create a separate toplevel, typedefed virDomainHostdevSubsys struct so that we can define temporary pointers to the subsys part. --- New patch for V2. src/conf/domain_conf.h | 31

[libvirt] [PATCH 03/17] conf: reorder static functions in domain_conf.c

2012-02-28 Thread Laine Stump
No code change, movement only. This is necessary to eliminate forward references. --- V2: No change src/conf/domain_conf.c | 417 1 files changed, 208 insertions(+), 209 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c

[libvirt] [PATCH 05/17] conf: add device pointer to args of virDomainDeviceInfoIterate callback

2012-02-28 Thread Laine Stump
There will be cases where the iterator callback will need to know the type of the device whose info is being operated on, and possibly even need to use some of the device's config. This patch adds a virDomainDeviceDefPtr to the args of every callback, and fills it in appropriately as the devices

[libvirt] [PATCH 04/17] qemu: rename virDomainDeviceInfoPtr variables to avoid confusion

2012-02-28 Thread Laine Stump
The virDomainDeviceInfoPtrs in qemuCollectPCIAddress and qemuComparePCIDevice are named dev and dev1, but those functions will be changed (in order to match a change in the args sent to virDomainDeviceInfoIterate() callback args) to contain a virDomainDeviceDefPtr device. This patch renames dev

[libvirt] [PATCH 06/17] conf: make hostdev info a separate object

2012-02-28 Thread Laine Stump
In order to allow for a virDomainHostdevDef that uses the virDomainDeviceInfo of a higher level device (such as a virDomainNetDef), this patch changes the virDomainDeviceInfo in the HostdevDef into a virDomainDeviceInfoPtr. Rather than adding checks all over the code to check for a null info, we

[libvirt] [PATCH 07/17] conf: HostdevDef parse/format helper functions

2012-02-28 Thread Laine Stump
In an upcoming patch, virDomainNetDef will acquire a virDomainHostdevDef, and the interface XML will take on some of the elements of a hostdev. To avoid duplicating the code for parsing and formatting the source element (which will be nearly identical in these two cases), this patch factors those

[libvirt] [PATCH 10/17] conf: hostdev utility functions

2012-02-28 Thread Laine Stump
Three new functions useful in other files: virDomainHostdevInsert: Add a new hostdev at the end of the array. This would more sensibly be called virDomainHostdevAppend, but the existing functions for other types of devices are called Insert. virDomainHostdevRemove: Eliminates one entry from

[libvirt] [PATCH 16/17] qemu: use virDomainNetRemove instead of inline code

2012-02-28 Thread Laine Stump
The code being replaced is exactly identical to the newly global function, right down to the comment. --- New patch in V2 src/qemu/qemu_hotplug.c | 14 +- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c index

[libvirt] [PATCH 11/17] qemu: re-order functions in qemu_hotplug.c

2012-02-28 Thread Laine Stump
Code movement only, no functional change. This is necessary to prevent a forward reference in an upcoming patch. --- New patch for V2. src/qemu/qemu_hotplug.c | 289 --- 1 files changed, 145 insertions(+), 144 deletions(-) diff --git

[libvirt] [PATCH 12/17] qemu: refactor hotplug detach of hostdevs

2012-02-28 Thread Laine Stump
This refactoring is necessary to support hotplug detach of type=hostdev network devices, but needs to be in a separate patch to make potential debugging of regressions more practical. Rather than the lowest level functions searching for a matching device, the search is now done in the toplevel

[libvirt] [PATCH 08/17] conf: give each hostdevdef a parent pointer

2012-02-28 Thread Laine Stump
The parent can be any type of device. It defaults to type=none, and a NULL pointer. The intent is that if a hostdevdef is contained in the def for a higher level device (e.g. virDomainNetDef), hostdev-parent will point to the higher level device, and type will be set to that type of device. This

[libvirt] [PATCH 13/17] conf: parse/format type='hostdev' network interfaces

2012-02-28 Thread Laine Stump
This is the new interface type that sets up a PCI/USB network device to be assigned to the guest with PCI/USB passthrough after initializing some network device-specific things from the config (e.g. MAC address, virtualport profile parameters). Here is an example of the syntax: interface

[libvirt] [PATCH 14/17] qemu: support type='hostdev' network devices at domain start

2012-02-28 Thread Laine Stump
This patch makes sure that each network device (interface) of type='hostdev' appears on both the hostdevs list and the nets list of the virDomainDef, and it modifies the qemu driver startup code so that these devices will be presented to qemu on the commandline as hostdevs rather than as network

[libvirt] [PATCH 15/17] conf: change virDomainNetRemove from static to global

2012-02-28 Thread Laine Stump
This exact code is duplicated in qemuDomainDetachNetDevice(). --- New patch in V2. (yeah, I just noticed the movement of the virDomainHostdevXX() declarations in this patch; I guess I was rearranging for consistent ordering. If this concerns anyone, I can squash it out before I push.)

[libvirt] [PATCH 17/17] qemu: support type=hostdev network device hotplug attach/detach

2012-02-28 Thread Laine Stump
qemuDomainAttachNetDevice - re-ordered some things at start of function because networkAllocateActualDevice should always be run and a slot in def-nets always allocated, but host_net_add isn't needed if the actual type is hostdev. - if actual type is hostdev, defer to

Re: [libvirt] [PATCHv2 00/17] Support for interface type='hostdev'

2012-02-28 Thread Laine Stump
On 02/28/2012 03:14 PM, Laine Stump wrote: This series of patches enhances the interface device to support a sort of intelligent hostdev, i.e. PCI passthrough where device-type specific initialization is done prior to assigning the device to the guest, in particular to allow setting the MAC

[libvirt] Integration with XtreemFS

2012-02-28 Thread Renich Bon Ciric
Hello is somebody here interested in integrating http://xtreemfs.org/ into libvirt? We're willing to pay for it and contribute it we need to take advantage of libxtreemfs; as described in this thread: https://groups.google.com/d/topic/xtreemfs/mkfPKk1YVeU/discussion Please, contact me if so.

[libvirt] [PATCH 1/2] hooks: Add support for capturing hook output

2012-02-28 Thread Jiri Denemark
Hooks may now be used as filters. --- daemon/libvirtd.c |6 +++--- src/lxc/lxc_driver.c|6 -- src/qemu/qemu_process.c | 12 src/util/hooks.c| 22 ++ src/util/hooks.h|2 +- 5 files changed, 34 insertions(+), 14

[libvirt] [PATCH 2/2] qemu: Add pre-migration hook

2012-02-28 Thread Jiri Denemark
This hook is called during the Prepare phase on destination host and may be used for changing domain XML. --- docs/hooks.html.in| 35 +++ src/qemu/qemu_migration.c | 40 src/util/hooks.c |3 ++-

[libvirt] [PATCH 0/2] qemu: Add pre-migration hook

2012-02-28 Thread Jiri Denemark
Current dxml parameter of virDomainMigrate{,ToURI}2 requires the caller to have deep knowlege of the environment on the target machine. In some cases, this may be impractical or even impossible to achieve. By adding per-migration hook which may filter incoming domain XML and change it

Re: [libvirt] [Resending] [PATCH 2/2] Allow x86 to fetch sysinfo from /proc/cpuinfo when dmidecode is absent.

2012-02-28 Thread Eric Blake
On 02/28/2012 12:58 PM, Daniel P. Berrange wrote: On Fri, Feb 17, 2012 at 01:00:22PM +0530, Prerna wrote: The last patch was mangled by my mailer, resending. From: Prerna Saxena pre...@linux.vnet.ibm.com Date: Thu, 16 Feb 2012 15:33:43 +0530 Subject: [PATCH 2/2] Sysinfo : Allow x86 to fetch

Re: [libvirt] [Resending] [PATCH 2/2] Allow x86 to fetch sysinfo from /proc/cpuinfo when dmidecode is absent.

2012-02-28 Thread Eric Blake
On 02/17/2012 12:30 AM, Prerna wrote: The last patch was mangled by my mailer, resending. From: Prerna Saxena pre...@linux.vnet.ibm.com Date: Thu, 16 Feb 2012 15:33:43 +0530 Subject: [PATCH 2/2] Sysinfo : Allow x86 to fetch sysinfo from /proc/cpuinfo in the event 'dmidecode' is absent in

Re: [libvirt] [PATCH 1/2] hooks: Add support for capturing hook output

2012-02-28 Thread Eric Blake
On 02/28/2012 02:49 PM, Jiri Denemark wrote: Hooks may now be used as filters. --- daemon/libvirtd.c |6 +++--- src/lxc/lxc_driver.c|6 -- src/qemu/qemu_process.c | 12 src/util/hooks.c| 22 ++ src/util/hooks.h|

Re: [libvirt] [PATCH 2/2] qemu: Add pre-migration hook

2012-02-28 Thread Eric Blake
On 02/28/2012 02:49 PM, Jiri Denemark wrote: This hook is called during the Prepare phase on destination host and may be used for changing domain XML. --- docs/hooks.html.in| 35 +++ src/qemu/qemu_migration.c | 40

Re: [libvirt] [PATCH 1/4] libvirt-guests: Add documentation and clean up to use virsh's improved list

2012-02-28 Thread Eric Blake
On 02/28/2012 11:00 AM, Peter Krempa wrote: This patch adds documentation to functions defined in the libvirt-guests init script and changes use of virsh's new commands to make the script easier. --- tools/libvirt-guests.init.sh | 60 -- 1 files

Re: [libvirt] [PATCH 2/4] libvirt-guests: Don't try to do a managed-save of transient guests

2012-02-28 Thread Eric Blake
On 02/28/2012 11:00 AM, Peter Krempa wrote: The libvirt-guests script tried to do a managed save of transient guest that failed. This patch notifies which guests are transient (and not being saved) and saves only the persistent ones. --- tools/libvirt-guests.init.sh | 37

[libvirt] [libvirt-glib] Remove now redundant 'path' property

2012-02-28 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Remove now redundant 'path' property from GVirDomainDevice subclasses. These classes now have access to their configurations, from which they can easily get the path (among other properties) internally. ---

Re: [libvirt] [PATCH 3/4] libvirt-guests: Check if URI is reachable before launching commands

2012-02-28 Thread Eric Blake
On 02/28/2012 11:00 AM, Peter Krempa wrote: This patch adds a check to the libvirt-guests script to check for the URI to be alive before attempting any calls. This avoids nasty error messages and allows us to fail gracefuly and continue on other URIs s/gracefuly/gracefully/ configured in the

Re: [libvirt] [PATCH 4/4] libvirt-guests: Add parallel startup and shutdown of guests

2012-02-28 Thread Eric Blake
On 02/28/2012 11:00 AM, Peter Krempa wrote: With this patch, it's possible to shut down guests in parallel. Parallel startup was possible before, but this functionality was not documented properly. To enable parallel startup set the START_DELAY to 0. Parallel shutdown has a configurable

[libvirt] [PATCH] storage: fix a typo

2012-02-28 Thread Alex Jia
* src/storage/storage_driver.c (storageVolumeWipeInternal): s/shneier/schneier. http://code.google.com/p/diskscrub/ Signed-off-by: Alex Jia a...@redhat.com --- src/storage/storage_driver.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/storage/storage_driver.c

[libvirt] [PATCH] util: fix a typo

2012-02-28 Thread Alex Jia
* src/util/event_poll.c: (virEventPollRunOnce): s/imeout/timeout/. Signed-off-by: Alex Jia a...@redhat.com --- src/util/event_poll.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/util/event_poll.c b/src/util/event_poll.c index 30dec74..038e75f 100644 ---

[libvirt] [PATCH] Do not include binaries in EXTRA_DIST

2012-02-28 Thread Daniel Veillard
commit f27f616ff899732fe90ce1f0f4abb3887cea5e17 broke make dist by adding qemumonitortest which is a generated binary to the EXTRA_DIST, hence breaking make dist Pushed as trivial build breaker. diff --git a/tests/Makefile.am b/tests/Makefile.am index 3e505a5..0c8cf37 100644 ---