Re: [libvirt] [PATCH 1/7] Add virFileAbsPath() utility

2009-10-05 Thread Paolo Bonzini
On 10/04/2009 09:28 PM, Amy Griffis wrote: Add a utility to ensure an absolute path for a potentially realtive path. Would it make sense for your usage to resolve symbolic links at the same time? If so, you can use the canonicalize-lgpl gnulib module, which portably provides the following

[libvirt] regarding libvirtd start

2009-10-05 Thread santosh gandham
Hi, I have installed libvirt 0.7.0. in fedora 11. When I start libvirt by using #libvirtd start , it is not showing any status message like libvirtd has started. The command line stuck up there itself. What is the problem? What should I do to run the libvirtd successfully? Thank you. --

[libvirt] Re: Migration procedure

2009-10-05 Thread Chris Lalancette
Maximilian Wilhelm wrote: Anno domini 2009 Chris Lalancette scripsit: Hi! [...] Currently, the migration code assumes that you want to leave the migrated guest defined but not running on the source of the migration, and that you want to leave it running but not defined (transient) on

Re: [libvirt] [PATCH] Support reporting live interface IP/netmask.

2009-10-05 Thread Daniel P. Berrange
On Tue, Sep 29, 2009 at 04:02:30PM -0400, Laine Stump wrote: From: root r...@vlap.laine.org This patch adds the flag VIR_INTERFACE_XML_INACTIVE to virInterfaceGetXMLDesc's flags. When it is *not* set (the default), the live interface info will be returned in the XML. in particular, the IP

Re: [libvirt] getting notified of events

2009-10-05 Thread Daniel P. Berrange
On Thu, Oct 01, 2009 at 06:29:25PM +0200, Dan Kenigsberg wrote: I am trying to understand how to use the virEvent* API. I've built latest libvirt (with Fix emission of domain events messages commit) and run the domain-events example. events-c gives me mostly silence. nothing is printed when

[libvirt] [PATCH 0/9] Support new peer-2-peer migration mode public API

2009-10-05 Thread Daniel P. Berrange
This series is an update of http://www.redhat.com/archives/libvir-list/2009-September/msg00540.html There isn't as much functional change here as you might presume from the number of patches. Since Chris' tunnelled migration code is added, I thought it better to do alot of small refactoring

[libvirt] [PATCH 1/9] Move the VIR_DRV_FEATURE* constants

2009-10-05 Thread Daniel P. Berrange
Move the VIR_DRV_FEATURE* constants into libvirt_internal.h since these flags are indicating whether APIs in the libvirt_internal.h file are supported by a driver * src/driver.h: Remove VIR_DRV_FEATURE* constants * src/libvirt_internal.h: Add VIR_DRV_FEATURE* constants, using an enum instead

[libvirt] [PATCH 2/9] Remove unneccessary uri_in parameter from virMigratePrepareTunnel

2009-10-05 Thread Daniel P. Berrange
Since virMigratePrepareTunnel() is used for migration over the native libvirt connection, there is never any need to pass the target URI to this method. * daemon/remote.c, src/driver.h, src/libvirt.c, src/libvirt_internal.h, src/qemu/qemu_driver.c, src/remote/remote_driver.c,

[libvirt] [PATCH 3/9] Don't force dconn to be NULL in virDomainMigrate

2009-10-05 Thread Daniel P. Berrange
The code for tunnelled migration wierdly required the app to pass a NULL 'dconn' parameter, only to have to use virConnectOpen itself shortly thereafter to get a 'dconn' object. Remove this bogus check require the app to always pas 'dconn' as before * src/libvirt.c: Require 'dconn' for

[libvirt] [PATCH 5/9] Fix stream abort upon I/O failure during migration

2009-10-05 Thread Daniel P. Berrange
virStreamAbort is needed when the caller wishes to terminate the stream early, not when virStreamSend fails. * qemu/qemu_driver.c: Fix calling of virStreamAbort during tunnelled migration --- src/qemu/qemu_driver.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[libvirt] [PATCH 6/9] Pull connection handling code out of doTunnelMigrate

2009-10-05 Thread Daniel P. Berrange
Simplify the doTunnelMigrate() method by pulling out the code which opens/closes the virConnectPtr object into a parent method * qemu/qemu_driver.c: Add doPeer2PeerMigrate which then calls doTunnelMigrate with dconn dom_xml --- docs/libvirt-api.xml |8 - docs/libvirt-refs.xml |

[libvirt] [PATCH 7/9] Separate out code for sending tunnelled data

2009-10-05 Thread Daniel P. Berrange
Simplify the doTunnelMigrate code by pulling out the code for sending all tunnelled data into separate helper * qemu/qemu_driver.c: introduce doTunnelSendAll() method --- src/qemu/qemu_driver.c | 63 ++- 1 files changed, 35 insertions(+), 28

[libvirt] [PATCH 4/9] Refactor native QEMU migration code

2009-10-05 Thread Daniel P. Berrange
The code for tunnelled migration was added in a dedicated method, but the native migration code is still inline in the top level qemudDomainMigratePerform() API. Move the native code out into a dedicated method too to make things more maintainable. * src/qemu/qemu_driver.c: Pull code for

[libvirt] [PATCH 8/9] Re-arrange doTunnelMigrate to simplify cleanup code

2009-10-05 Thread Daniel P. Berrange
Re-arrange the doTunnelMigrate method putting all non-QEMU local state setup steps first. This maximises chances of success before then starting destination QEMU for receiving incoming migration. Altogether this can reduce the number of goto cleanup labels to something more managable. *

[libvirt] [PATCH 9/9] Support a new peer-to-peer migration mode public API

2009-10-05 Thread Daniel P. Berrange
Introduces several new public API options for migration - VIR_MIGRATE_PEER2PEER: With this flag the client only invokes the virDomainMigratePerform method, expecting the source host driver to do whatever is required to complete the entire migration process. - VIR_MIGRATE_TUNNELLED:

Re: [libvirt] [PATCH] Make dnsmasq run from libvirtd reading /etc/ethers

2009-10-05 Thread Daniel P. Berrange
On Mon, Oct 05, 2009 at 06:00:47AM +0900, Satoru SATOH wrote: The following small patch makes dnsmasq run from libvirtd reading /etc/ethers and enables static ip address assignment with it. Libvirtd already supports static ip address assignment by //ip/dhcp/host element in network xml

Re: [libvirt] [RFC PATCH 3/6] add the ebtables wrapper to network driver

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 03:48:21PM +0200, Gerhard Stenzel wrote: This patch adds the ebtables wrapper to the network driver. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com --- src/conf/network_conf.h | 10 ++ src/libvirt_private.syms| 26 ++

Re: [libvirt] [RFC PATCH 2/6] add build support for ebtables wrapper

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 03:48:16PM +0200, Gerhard Stenzel wrote: This patch adds build support for the ebtables wrapper. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com --- configure.in|3 +++ src/Makefile.am |1 + 2 files changed, 4 insertions(+), 0 deletions(-)

Re: [libvirt] [RFC PATCH 1/6] add ebtables wrapper

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 03:48:11PM +0200, Gerhard Stenzel wrote: + + +#ifdef ENABLE_ebtabLES_LOKKIT Something went a little wrong with upper/lower case there I think +static void +notifyRulesUpdated(const char *table, + const char *path) +{ +char arg[PATH_MAX]; +

Re: [libvirt] [PATCH 1/5] nodedev: Add locking in nodeNumOfDevices

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 12:05:01PM -0400, Cole Robinson wrote: Signed-off-by: Cole Robinson crobi...@redhat.com --- src/node_device/node_device_driver.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/node_device/node_device_driver.c

Re: [libvirt] [PATCH 2/5] nodedev: Break out virNodeDeviceHasCap to node_conf

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 12:05:02PM -0400, Cole Robinson wrote: Will be used by test driver node device implementation. Signed-off-by: Cole Robinson crobi...@redhat.com --- src/conf/node_device_conf.c | 10 ++ src/conf/node_device_conf.h |2 ++

Re: [libvirt] [PATCH 3/5] test: Implement node device driver.

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 12:05:03PM -0400, Cole Robinson wrote: Add a simple 'computer' device for the default driver. Only implement the basic calls, no creation or destroy happening. Signed-off-by: Cole Robinson crobi...@redhat.com --- src/test/test_driver.c | 253

Re: [libvirt] [PATCH] 526769 change logrotate config default to weekly

2009-10-05 Thread Mark McLoughlin
On Fri, 2009-10-02 at 18:08 +0200, Daniel Veillard wrote: https://bugzilla.redhat.com/show_bug.cgi?id=526769 Current setup is daily with 7 backups so one week worth of logs per domain in /var/log/libvirt/qemu/*.log First a week worth of backup is a bit short, second for most domains

Re: [libvirt] [PATCH 4/5] node conf: Make parsing routines consistent with other drivers

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 12:05:04PM -0400, Cole Robinson wrote: Add virNodeDeviceParseFile, and make virNodeDeviceParseNode non-static. These will be used by the test driver. Signed-off-by: Cole Robinson crobi...@redhat.com --- src/conf/node_device_conf.c | 47

Re: [libvirt] [PATCH 5/5] test: Support loading node device info from file/XML

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 12:05:05PM -0400, Cole Robinson wrote: Also add some XML examples. Signed-off-by: Cole Robinson crobi...@redhat.com --- examples/xml/test/testdev.xml| 16 + examples/xml/test/testnode.xml |1 + examples/xml/test/testnodeinline.xml |

Re: [libvirt] [PATCH] 526769 change logrotate config default to weekly

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 06:08:41PM +0200, Daniel Veillard wrote: https://bugzilla.redhat.com/show_bug.cgi?id=526769 Current setup is daily with 7 backups so one week worth of logs per domain in /var/log/libvirt/qemu/*.log First a week worth of backup is a bit short, second for most

Re: [libvirt] [PATCHv2 3/8] python: Remove use of xmllib in generator.py

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 01:46:48PM -0400, Cole Robinson wrote: xmllib has been deprecated since python 2.0, and running the generator throws a warning. Move to using xml.sax Signed-off-by: Cole Robinson crobi...@redhat.com --- python/generator.py | 23 +-- 1 files

Re: [libvirt] [PATCHv2 2/8] python: Remove FastParser from generator.

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 01:46:47PM -0400, Cole Robinson wrote: FastParser uses sgmlop, a non-standard python module meant as a replacement for xmllib (which is deprecated since python 2.0). Fedora doesn't even carry this module, and the generator doesn't have high performance requirements, so

Re: [libvirt] [PATCHv2 4/8] python: Don't generate conflicting conn.createXML functions.

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 01:46:49PM -0400, Cole Robinson wrote: A special case in the generator wasn't doing its job, and duplicate conn.createXML functions were being generated. The bindings diff is: @@ -1079,14 +1079,6 @@ class virConnect: return __tmp def createXML(self,

Re: [libvirt] [PATCHv2 5/8] python: Don't generate bindings for vir*Ref

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 01:46:50PM -0400, Cole Robinson wrote: They are only for use in implementing the bindings, so shouldn't be exposed to regular API users. Signed-off-by: Cole Robinson crobi...@redhat.com --- python/generator.py | 10 ++ 1 files changed, 10 insertions(+), 0

Re: [libvirt] [PATCHv2 7/8] python: Fix generated virInterface method names

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 01:46:52PM -0400, Cole Robinson wrote: A mistake in the generator was causing virInterface methods to be generated with unpredicatable names ('ceUndefine', instead of just 'undefine'). This fixes the method names to match existing convention. Signed-off-by: Cole

Re: [libvirt] [PATCHv2 8/8] python: Add a newline after custom classes

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 01:46:53PM -0400, Cole Robinson wrote: In the generated bindings, custom classes are squashed against the following class, which hurts readability. Signed-off-by: Cole Robinson crobi...@redhat.com --- python/generator.py |1 + 1 files changed, 1 insertions(+),

Re: [libvirt] [PATCH] test: Throw a proper error in GetBridgeName

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 02:19:11PM -0400, Cole Robinson wrote: Throw error in GetBridgeName if net has no bridge. Signed-off-by: Cole Robinson crobi...@redhat.com --- src/test/test_driver.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git

Re: [libvirt] [PATCHv2 1/8] configure: Add explict --with-python option.

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 01:46:46PM -0400, Cole Robinson wrote: --with-python currently already works for enabling/disabling the python bindings, but doesn't show up in the help output. Signed-off-by: Cole Robinson crobi...@redhat.com --- configure.in |6 +- 1 files changed, 5

Re: [libvirt] Application using libvirt crashes when having concurrent TLS connections (gnutls problem)

2009-10-05 Thread Daniel P. Berrange
On Fri, Oct 02, 2009 at 09:59:27PM +0200, Thomas Treutner wrote: Hi list, I was wondering about the status of this bug: https://bugzilla.redhat.com/show_bug.cgi?id=512367 Patch proposed but the original reporter never indicated whether it actually fixed the problem or not. If someone

Re: [libvirt] [PATCH 0/7] Series short description

2009-10-05 Thread Daniel P. Berrange
On Sun, Oct 04, 2009 at 03:28:08PM -0400, Amy Griffis wrote: The following patches fix logging for the lxc controller. The lxc controller makes use of the libvirt logging module, but because it doesn't re-initialize the logging configuration the messages are currently going nowhere. There

Re: [libvirt] [PATCH 2/7] Add accessors for logging filters and outputs

2009-10-05 Thread Daniel P. Berrange
On Sun, Oct 04, 2009 at 03:28:46PM -0400, Amy Griffis wrote: When configuring logging settings, keep more information about the output destination. Add accessors to retrieve the filter and output settings in the original string form; this to be used to set up environment for a child process

Re: [libvirt] [PATCH 3/7] Add debug for envp[] in virExecWithHook()

2009-10-05 Thread Daniel P. Berrange
On Sun, Oct 04, 2009 at 03:28:54PM -0400, Amy Griffis wrote: Some callers may have set envp[]. --- src/util/util.c | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/util/util.c b/src/util/util.c index 81b743c..e5135fc 100644 --- a/src/util/util.c

[libvirt] Creating Guest OS in Virtual Box

2009-10-05 Thread santosh gandham
Hi, I am trying to create Guest OS (VM) in virtualBox throught libvirt. I installed libvirt 0.7.0 and created the template as domain type='vbox' nameubuntu/name os typehvm/type boot dev='hd'/ /os memory542720/memory

Re: [libvirt] [PATCH 4/7] lxc: initialize logging configuration

2009-10-05 Thread Daniel P. Berrange
On Sun, Oct 04, 2009 at 03:29:01PM -0400, Amy Griffis wrote: Before launching the lxc controller, have the lxc driver query the log settings and setup envp[]. This provides the advantage of honoring the actual log configuration instead of only what had been set in the environment. The lxc

Re: [libvirt] [PATCH 5/7] lxc: append container log file

2009-10-05 Thread Daniel P. Berrange
On Sun, Oct 04, 2009 at 03:29:10PM -0400, Amy Griffis wrote: Do we really want to overwrite the container log file every time we restart? --- src/lxc/lxc_driver.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c index

Re: [libvirt] [PATCH 6/7] lxc: add driver config file lxc.conf

2009-10-05 Thread Daniel P. Berrange
On Sun, Oct 04, 2009 at 03:29:18PM -0400, Amy Griffis wrote: Add a config file for the lxc driver, based on existing qemu.conf. There is currently one tunable log_with_libvirtd that controls whether an lxc controller will log only to the container log file, or whether it will honor libvirtd's

Re: [libvirt] [PATCH 7/7] lxc: add augeas support for config file

2009-10-05 Thread Daniel P. Berrange
On Sun, Oct 04, 2009 at 03:29:26PM -0400, Amy Griffis wrote: I've attempted to add augeas support for lxc.conf based on qemu.conf. diff --git a/src/Makefile.am b/src/Makefile.am index 73bbb70..7e3abab 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -35,6 +35,12 @@ mod_LTLIBRARIES =

Re: [libvirt] [PATCH] Support for IPv6 / multiple ifaces in interface_conf.[ch]

2009-10-05 Thread Daniel P. Berrange
On Sun, Oct 04, 2009 at 10:58:55PM -0400, Laine Stump wrote: This patch updates the xml parsing and formatting, and the associated virInterfaceDef data structure to support IPv6, along the way adding support for multiple protocols per interface, and multiple IP addresses per protocol. Note

Re: [libvirt] Creating Guest OS in Virtual Box

2009-10-05 Thread Pritesh Kothari
Hi Santosh, apply this patch http://www.mail-archive.com/libvir-list@redhat.com/msg16797.html and hopefully it should work Regards, Pritesh On Monday 05 October 2009 14:51:33 santosh gandham wrote: Hi, I am trying to create Guest OS (VM) in virtualBox throught libvirt. I installed libvirt

Re: [libvirt] [PATCH 7/9] Separate out code for sending tunnelled data

2009-10-05 Thread Daniel P. Berrange
On Mon, Oct 05, 2009 at 03:29:47PM +0200, Paolo Bonzini wrote: On 10/05/2009 01:44 PM, Daniel P. Berrange wrote: +char buffer[65536]; +int nbytes = sizeof(buffer); I just noticed this, it's safer to malloc such a big array (it is actually from Chris patch, but you may take the

Re: [libvirt] Creating Guest OS in Virtual Box

2009-10-05 Thread Pritesh Kothari
os typehvm/type boot dev='hd'/ /os memory542720/memory vcpu1/vcpu devices disk type='file' device='disk' source file='/home/santhosh/Desktop/ubuntu9.vdi'/ target dev='hdd'/

[libvirt] cann't connect kvm hypervisor

2009-10-05 Thread Liu, Zhentao
Hello, I'm new of Opennebula. I have installed KVM im my remote node. But when I want to check the KVM in the node, I can't connect to the hypervisor. r...@forest:/var/run/libvirt# virsh -c qemu:///localhost/system list

[libvirt] A first look at the node device libudev backend

2009-10-05 Thread Dave Allan
Hi all, Here is a first cut at the node device backend. The only devices implemented are part of storage and PCI devices, but it's conceptually finished. The remaining work is implementing the other device properties and types. Before I go do that, I'd like to get feedback on my approach.

Re: [libvirt] [PATCHv2 3/8] python: Remove use of xmllib in generator.py

2009-10-05 Thread Daniel Veillard
On Fri, Oct 02, 2009 at 01:46:48PM -0400, Cole Robinson wrote: xmllib has been deprecated since python 2.0, and running the generator throws a warning. Move to using xml.sax Thanks ! I need to apply this to other projects using generator ! Daniel -- Daniel Veillard | libxml Gnome

Re: [libvirt] [PATCHv2 7/8] python: Fix generated virInterface method names

2009-10-05 Thread Daniel Veillard
On Mon, Oct 05, 2009 at 01:40:44PM +0100, Daniel P. Berrange wrote: On Fri, Oct 02, 2009 at 01:46:52PM -0400, Cole Robinson wrote: A mistake in the generator was causing virInterface methods to be generated with unpredicatable names ('ceUndefine', instead of just 'undefine'). This fixes the

Re: [libvirt] [PATCHv2 0/8] Python related fixes

2009-10-05 Thread Daniel Veillard
On Fri, Oct 02, 2009 at 01:46:45PM -0400, Cole Robinson wrote: The following series fixes various issues related to the python bindings. Cole Robinson (8): configure: Add explict --with-python option. python: Remove FastParser from generator. python: Remove use of xmllib in

Re: [libvirt] [PATCH] test: Throw a proper error in GetBridgeName

2009-10-05 Thread Daniel Veillard
On Fri, Oct 02, 2009 at 02:19:11PM -0400, Cole Robinson wrote: Throw error in GetBridgeName if net has no bridge. Signed-off-by: Cole Robinson crobi...@redhat.com --- src/test/test_driver.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git

Re: [libvirt] cann't connect kvm hypervisor

2009-10-05 Thread Daniel Huhardeaux
Liu, Zhentao a écrit : Hello, I'm new of Opennebula. I have installed KVM im my remote node. But when I want to check the KVM in the node, I can't connect to the hypervisor. r...@forest:/var/run/libvirt# virsh -c

Re: [libvirt] [PATCH] Support reporting live interface IP/netmask.

2009-10-05 Thread Daniel P. Berrange
On Mon, Oct 05, 2009 at 12:18:33PM -0400, Laine Stump wrote: On 10/05/2009 07:02 AM, Daniel P. Berrange wrote: On Tue, Sep 29, 2009 at 04:02:30PM -0400, Laine Stump wrote: From: rootr...@vlap.laine.org This patch adds the flag VIR_INTERFACE_XML_INACTIVE to virInterfaceGetXMLDesc's

Re: [libvirt] A first look at the node device libudev backend

2009-10-05 Thread Daniel P. Berrange
On Mon, Oct 05, 2009 at 11:21:05AM -0400, Dave Allan wrote: Hi all, Here is a first cut at the node device backend. The only devices implemented are part of storage and PCI devices, but it's conceptually finished. The remaining work is implementing the other device properties and

Re: [libvirt] [PATCHv2 0/8] Python related fixes

2009-10-05 Thread Cole Robinson
On 10/05/2009 11:30 AM, Daniel Veillard wrote: On Fri, Oct 02, 2009 at 01:46:45PM -0400, Cole Robinson wrote: The following series fixes various issues related to the python bindings. Cole Robinson (8): configure: Add explict --with-python option. python: Remove FastParser from

Re: [libvirt] [PATCH] test: Throw a proper error in GetBridgeName

2009-10-05 Thread Cole Robinson
On 10/05/2009 11:31 AM, Daniel Veillard wrote: On Fri, Oct 02, 2009 at 02:19:11PM -0400, Cole Robinson wrote: Throw error in GetBridgeName if net has no bridge. Signed-off-by: Cole Robinson crobi...@redhat.com --- src/test/test_driver.c | 10 -- 1 files changed, 8 insertions(+),

Re: [libvirt] [PATCH 5/5] test: Support loading node device info from file/XML

2009-10-05 Thread Cole Robinson
On 10/05/2009 08:36 AM, Daniel P. Berrange wrote: On Fri, Oct 02, 2009 at 12:05:05PM -0400, Cole Robinson wrote: Also add some XML examples. Signed-off-by: Cole Robinson crobi...@redhat.com --- examples/xml/test/testdev.xml| 16 + examples/xml/test/testnode.xml

Re: [libvirt] regarding libvirtd start

2009-10-05 Thread Andreas Sommer
The command should be libvirtd -d -l. I think d for daemonize and l for creating a server (e.g. local connections to the daemon need this option). In the Debian package, there's a init.d script which does the job for you (options can be defined in /etc/default/libvirt...) - maybe there's

Re: [libvirt] Application using libvirt crashes when having concurrent TLS connections (gnutls problem)

2009-10-05 Thread Thomas Treutner
On Monday 05 October 2009 14:43:05 Daniel P. Berrange wrote: On Fri, Oct 02, 2009 at 09:59:27PM +0200, Thomas Treutner wrote: Hi list, I was wondering about the status of this bug: https://bugzilla.redhat.com/show_bug.cgi?id=512367 Patch proposed but the original reporter never

Re: [libvirt] [PATCH 1/7] Add virFileAbsPath() utility

2009-10-05 Thread Amy Griffis
Paolo Bonzini wrote: [Mon Oct 05 2009, 04:54:27AM EDT] On 10/04/2009 09:28 PM, Amy Griffis wrote: Add a utility to ensure an absolute path for a potentially realtive path. Would it make sense for your usage to resolve symbolic links at the same time? If so, you can use the

[libvirt] USB node devices info

2009-10-05 Thread Daniel Berteaud
Hi there. I have a problem with USB host device enumeration with libvirt. I'm running libvirt 0.7.0 on a fully updated CentOS 5.3 (libvirt was rebuilt unmodified from http://libvirt.org/sources/libvirt-0.7.0-1.fc11.src.rpm) I want to pas an USB key to one of my guest. lsusb see it just fine: (I

Re: [libvirt] [PATCH] Support reporting live interface IP/netmask.

2009-10-05 Thread David Lutterkort
On Mon, 2009-10-05 at 12:02 +0100, Daniel P. Berrange wrote: On Tue, Sep 29, 2009 at 04:02:30PM -0400, Laine Stump wrote: From: root r...@vlap.laine.org This patch adds the flag VIR_INTERFACE_XML_INACTIVE to virInterfaceGetXMLDesc's flags. When it is *not* set (the default), the live

Re: [libvirt] [PATCH 2/7] Add accessors for logging filters and outputs

2009-10-05 Thread Amy Griffis
Daniel P. Berrange wrote: [Mon Oct 05 2009, 08:51:00AM EDT] On Sun, Oct 04, 2009 at 03:28:46PM -0400, Amy Griffis wrote: When configuring logging settings, keep more information about the output destination. Add accessors to retrieve the filter and output settings in the original string

Re: [libvirt] [PATCH] Support reporting live interface IP/netmask.

2009-10-05 Thread David Lutterkort
On Mon, 2009-10-05 at 17:34 +0100, Daniel P. Berrange wrote: With the domain XML format, we did have a few abortive attempts at indicating in the live XML, whether an attribute was from the persistent config, vs dynamically added to live config, but it all ended up as rather a mess. Here's a

Re: [libvirt] [PATCH] Support for IPv6 / multiple ifaces in interface_conf.[ch]

2009-10-05 Thread David Lutterkort
On Sun, 2009-10-04 at 22:58 -0400, Laine Stump wrote: Note that netcf appears to not accept defining both ipv4 and ipv6 on the same interface, and still can't report live config of IPv6 (or multiple IPv4 addresses), so the usefulness of this patch is limited until those items are fixed in

Re: [libvirt] [PATCH] Support for IPv6 / multiple ifaces in interface_conf.[ch]

2009-10-05 Thread Laine Stump
On 10/05/2009 06:06 PM, David Lutterkort wrote: On Sun, 2009-10-04 at 22:58 -0400, Laine Stump wrote: Note that netcf appears to not accept defining both ipv4 and ipv6 on the same interface, and still can't report live config of IPv6 (or multiple IPv4 addresses), so the usefulness of this

Re: [libvirt] [PATCH 7/7] lxc: add augeas support for config file

2009-10-05 Thread Ryota Ozaki
On Mon, Oct 5, 2009 at 9:55 PM, Daniel P. Berrange berra...@redhat.com wrote: On Sun, Oct 04, 2009 at 03:29:26PM -0400, Amy Griffis wrote: I've attempted to add augeas support for lxc.conf based on qemu.conf. diff --git a/src/Makefile.am b/src/Makefile.am index 73bbb70..7e3abab 100644 ---