Re: [libvirt] [PATCH] Avoid segv if ncf_init fails

2009-10-23 Thread Daniel P. Berrange
On Fri, Oct 23, 2009 at 03:13:17PM -0400, Laine Stump wrote: > If ncf_init() fails, it takes responsibility to call ncf_close() when > appropriate. Having libvirt call it results in a double close, which > ends up segv'ing. Hmm, it would be good if ncf_init set the passed in pointer to NULL when

Re: [libvirt] [PATCH 3/3] (REVISED) Support for IPv6 / multiple addresses per interface in virInterface

2009-10-23 Thread Daniel P. Berrange
On Fri, Oct 23, 2009 at 01:31:19PM -0400, Laine Stump wrote: > (How's this?) > > 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

[libvirt] [PATCH] Avoid segv if ncf_init fails

2009-10-23 Thread Laine Stump
If ncf_init() fails, it takes responsibility to call ncf_close() when appropriate. Having libvirt call it results in a double close, which ends up segv'ing. --- src/interface/netcf_driver.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/interface/netcf_driver.c b/s

[libvirt] [PATCH 3/3] (REVISED) Support for IPv6 / multiple addresses per interface in virInterface

2009-10-23 Thread Laine Stump
(How's this?) 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. --- src/conf/interface_conf.c | 295 +

Re: [libvirt] [PATCH 3/3] Support for IPv6 / multiple addresses per interface in virInterface

2009-10-23 Thread Daniel P. Berrange
On Fri, Oct 16, 2009 at 10:56:19AM -0400, la...@laine.org wrote: > static int > -virInterfaceDefParseProtoIPv4(virConnectPtr conn, virInterfaceDefPtr def, > +virInterfaceDefParseProtoIPv4(virConnectPtr conn, virInterfaceProtocolDefPtr > def, >xmlXPathContextPtr ctx

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

2009-10-23 Thread Daniel P. Berrange
On Fri, Oct 16, 2009 at 10:56:18AM -0400, la...@laine.org wrote: > From: Laine Stump > > 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 > addre

Re: [libvirt] [PATCH 1/3] Make startmode optional in toplevel interface definitions.

2009-10-23 Thread Daniel P. Berrange
On Fri, Oct 16, 2009 at 10:56:17AM -0400, la...@laine.org wrote: > From: Laine Stump > > The minimal XML returned from ncf_if_xml_state() doesn't contain this > attribute (which makes no sense in the case of reporting current > status of the interface), and it was preventing it from passing > thr

Re: [libvirt] invalid domain pointer

2009-10-23 Thread Richard W.M. Jones
On Fri, Oct 23, 2009 at 05:20:34PM +0200, Stefan wrote: > Richard W.M. Jones schrieb: > > On Fri, Oct 23, 2009 at 12:42:20PM +0200, Stefan wrote: > >> my log files are filled with (5 times per second): > >> error : invalid domain pointer in no domain with matching id -1 > > > > "5 times per second

Re: [libvirt] invalid domain pointer

2009-10-23 Thread Stefan
Richard W.M. Jones schrieb: > On Fri, Oct 23, 2009 at 12:42:20PM +0200, Stefan wrote: >> my log files are filled with (5 times per second): >> error : invalid domain pointer in no domain with matching id -1 > > "5 times per second" is a bit suspicious. Are you running some sort > of monitoring so

Re: [libvirt] Get Virtual Machine Information

2009-10-23 Thread Richard W.M. Jones
On Fri, Oct 23, 2009 at 04:04:23PM +0100, Richard W.M. Jones wrote: > On Thu, Oct 22, 2009 at 02:09:01PM +0530, Gandhiraj Natarajan wrote: > > 2. We need to know how to get the proper operating system like > > Windows XP or 2000 or 2003? > > virt-inspector can tell you it is Windows, and with a bi

Re: [libvirt] invalid domain pointer

2009-10-23 Thread Richard W.M. Jones
On Fri, Oct 23, 2009 at 12:42:20PM +0200, Stefan wrote: > my log files are filled with (5 times per second): > error : invalid domain pointer in no domain with matching id -1 "5 times per second" is a bit suspicious. Are you running some sort of monitoring software or some software which queries

Re: [libvirt] Get Virtual Machine Information

2009-10-23 Thread Richard W.M. Jones
On Thu, Oct 22, 2009 at 02:09:01PM +0530, Gandhiraj Natarajan wrote: >  1. We need to know how to get the IP addresses of virtual machines running > in Novel Xen Server? There's not really a good way to do this. One possibility is to run '/sbin/arp -an' but it's not a reliable method. >  2. We

Re: [libvirt] [PATCH] Add a new syntax-check rule for gethostname.

2009-10-23 Thread Cole Robinson
On 10/23/2009 07:01 AM, Chris Lalancette wrote: > We should always be using virGetHostname in place of > gethostname; thus add in a new syntax-check rule to make > sure no new uses creep in. > > Signed-off-by: Chris Lalancette > --- > .x-sc_prohibit_gethostname |2 ++ > Makefile.am

Re: [libvirt] [PATCH] Various syntax-check fixes.

2009-10-23 Thread Cole Robinson
On 10/23/2009 07:01 AM, Chris Lalancette wrote: > Make a pass over the syntax-check files, tightening up regex's, > un-ignoring certain files, and cleaning things up. > > Signed-off-by: Chris Lalancette > --- > .x-sc_prohibit_VIR_ERR_NO_MEMORY | 13 + > .x-sc_prohibit_gethostby

Re: [libvirt] [PATCH] Replace two strcmp() by STREQ() in qemu_driver.c

2009-10-23 Thread Chris Lalancette
Cole Robinson wrote: > On 10/23/2009 10:21 AM, Cole Robinson wrote: >> On 10/23/2009 07:01 AM, Chris Lalancette wrote: >>> Signed-off-by: Chris Lalancette >>> --- >>> src/qemu/qemu_driver.c |4 ++-- >>> 1 files changed, 2 insertions(+), 2 deletions(-) >>> >>> diff --git a/src/qemu/qemu_driver

Re: [libvirt] [PATCH] Tighten up nonreentrant syntax-check.

2009-10-23 Thread Cole Robinson
On 10/23/2009 07:01 AM, Chris Lalancette wrote: > We can slightly tighten up the regex's used to detect the use of > nonreentrant functions. We can also check src/util/virterror.c > by modifying a comment; I think it's worth it to get the additional > coverage. > > Signed-off-by: Chris Lalancette

Re: [libvirt] [PATCH] Replace a gethostname by virGetHostname in libvirtd.c

2009-10-23 Thread Cole Robinson
On 10/23/2009 07:01 AM, Chris Lalancette wrote: > Signed-off-by: Chris Lalancette > --- > daemon/libvirtd.c | 10 +++--- > 1 files changed, 7 insertions(+), 3 deletions(-) > > diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c > index 4eb33bc..02bd287 100644 > --- a/daemon/libvirtd.c > +++

Re: [libvirt] [PATCH] Replace two strcmp() by STREQ() in qemu_driver.c

2009-10-23 Thread Cole Robinson
On 10/23/2009 10:21 AM, Cole Robinson wrote: > On 10/23/2009 07:01 AM, Chris Lalancette wrote: >> Signed-off-by: Chris Lalancette >> --- >> src/qemu/qemu_driver.c |4 ++-- >> 1 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c >>

Re: [libvirt] [PATCH] Replace two strcmp() by STREQ() in qemu_driver.c

2009-10-23 Thread Cole Robinson
On 10/23/2009 07:01 AM, Chris Lalancette wrote: > Signed-off-by: Chris Lalancette > --- > src/qemu/qemu_driver.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c > index 4cd235d..da7dda7 100644 > --- a/src/qemu/qemu_

Re: [libvirt] [PATCH] Replace gethostname by virGetHostname in xend_internal.c

2009-10-23 Thread Cole Robinson
On 10/23/2009 07:01 AM, Chris Lalancette wrote: > --- > src/xen/xend_internal.c | 11 +-- > 1 files changed, 1 insertions(+), 10 deletions(-) > > diff --git a/src/xen/xend_internal.c b/src/xen/xend_internal.c > index 27d215e..d3ab019 100644 > --- a/src/xen/xend_internal.c > +++ b/src/xe

Re: [libvirt] [PATCH] Update the documentation for virDomainMigrateToURI

2009-10-23 Thread Cole Robinson
On 10/23/2009 07:01 AM, Chris Lalancette wrote: > Signed-off-by: Chris Lalancette > --- > src/libvirt.c | 41 ++--- > 1 files changed, 22 insertions(+), 19 deletions(-) > > diff --git a/src/libvirt.c b/src/libvirt.c > index 9e87900..5787f22 100644 > --- a/sr

Re: [libvirt] [PATCH] Remove redundant virFileDeletePID() call

2009-10-23 Thread Chris Lalancette
Cole Robinson wrote: > On 10/23/2009 07:01 AM, Chris Lalancette wrote: >> virFileDeletePID() is unnecessarily called in qemudRemoveDomainStatus(). >> The only caller of qemudRemoveDomainStatus() is qemudShutdownVMDaemon(), >> and that already calls virFileDeletePID (with a better error message). >>

Re: [libvirt] [PATCH] Remove a completely bogus reference increment in the Xen driver.

2009-10-23 Thread Cole Robinson
On 10/23/2009 07:01 AM, Chris Lalancette wrote: > xenUnifiedDomainEventRegister() calls out to > virDomainEventCallbackListAdd(), which increments the reference > count on the connection. That is fine, but then > xenUnifiedDomainEventRegister() increments the usage count again, > leading to a usag

Re: [libvirt] [PATCH] Add a default log_level to qemudSetLogging to remove a build warning.

2009-10-23 Thread Cole Robinson
On 10/23/2009 07:01 AM, Chris Lalancette wrote: > (original patch from Charles Duffy) > > Signed-off-by: Chris Lalancette > --- > daemon/libvirtd.c | 11 +++ > 1 files changed, 3 insertions(+), 8 deletions(-) > > diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c > index 03bc1b4..4eb3

Re: [libvirt] [PATCH] Better error message when libvirtd fails to start.

2009-10-23 Thread Cole Robinson
On 10/23/2009 07:01 AM, Chris Lalancette wrote: > Signed-off-by: Chris Lalancette > --- > daemon/libvirtd.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c > index 78dfb2d..03bc1b4 100644 > --- a/daemon/libvirtd.c > +++ b/dae

Re: [libvirt] [PATCH] Remove redundant virFileDeletePID() call

2009-10-23 Thread Cole Robinson
On 10/23/2009 07:01 AM, Chris Lalancette wrote: > virFileDeletePID() is unnecessarily called in qemudRemoveDomainStatus(). > The only caller of qemudRemoveDomainStatus() is qemudShutdownVMDaemon(), > and that already calls virFileDeletePID (with a better error message). > Remove the redundant call

[libvirt] Re: [virt-tools-list] [BUG] mounting of NFSv4 pools fails in virt-manager

2009-10-23 Thread Cole Robinson
On 10/23/2009 07:22 AM, Jon Nordby wrote: > The problem is due to libvirt using mount.nfs instead of mount.nfs4 for > NFSv4 shares. > > virt-manager tries the following command (see attached file): > [...@jon-laptop ~]$ sudo /bin/mount 10.0.0.2:/libvirt_install > /var/lib/libvirt/images/server-ins

[libvirt] [PATCH 20/21] Async event handling in QEMU monitor text protocol

2009-10-23 Thread Daniel P. Berrange
Start for on detecting & dispatching async events fed into the QEMU monitor. In RHEL-5 fork of QEMU, the 'notify' command turns on events, and events are prefixed with a leading '#' character. * src/qemu/qemu_monitor_text.h, src/qemu/qemu_monitor_text.c: Detect and filter any async events ---

[libvirt] [PATCH 21/21] Fix memory leak in storage encryption parser

2009-10-23 Thread Daniel P. Berrange
* src/conf/storage_encryption_conf.c: Fix missing VIR_FREE --- src/conf/storage_encryption_conf.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/conf/storage_encryption_conf.c b/src/conf/storage_encryption_conf.c index b97b989..f46e750 100644 --- a/src/conf/storage_e

[libvirt] [PATCH 18/21] Fully asynchronous monitor I/O processing

2009-10-23 Thread Daniel P. Berrange
Change the QEMU monitor file handle watch to poll for both read & write events, as well as EOF. All I/O to/from the QEMU monitor FD is now done in the event callback thread. When the QEMU driver needs to send a command, it puts the data to be sent into a qemuMonitorMessagePtr object instance, queu

[libvirt] [PATCH 17/21] Add reference counting on virDomainObjPtr objects

2009-10-23 Thread Daniel P. Berrange
Add reference counting on the virDomainObjPtr objects. With the forthcoming asynchronous QEMU monitor, it will be neccessary to release the lock on virDomainObjPtr while waiting for a monitor command response. It is neccessary to ensure one thread can't delete a virDomainObjPtr while another is wai

[libvirt] [PATCH 16/21] Locking of the qemuMonitorPtr object

2009-10-23 Thread Daniel P. Berrange
In preparation of the monitor I/O process becoming fully asynchronous, it is neccessary to ensure all access to internals of the qemuMonitorPtr object is protected by a mutex lock. * src/qemu/qemu_monitor.c: Acquire & release a lock for all monitor commands --- src/qemu/qemu_monitor.c | 222 ++

[libvirt] [PATCH 14/21] Move encryption lookup back into qemu driver file

2009-10-23 Thread Daniel P. Berrange
Decouple the monitor code from the virDomainDefPtr structure by moving the disk encryption lookup code back into the qemu_driver.c file. Instead provide a function callback to the monitor code which can be invoked to retrieve encryption data as required. * src/qemu/qemu_driver.c: Add findDomainDis

[libvirt] [PATCH 13/21] Make use of private data structure for monitor state

2009-10-23 Thread Daniel P. Berrange
Introduce a new qemuDomainObjPrivate object which is used to store the private QEMU specific data associated with each virDomainObjPtr instance. This contains a single member, an instance of the new qemuMonitorPtr object which encapsulates the QEMU monitor state. The internals of the latter are pri

[libvirt] [PATCH 12/21] Move code for low level QEMU monitor interaction into separate file

2009-10-23 Thread Daniel P. Berrange
The qemu_driver.c code should not contain any code that interacts with the QEMU monitor at a low level. A previous commit moved all the command invocations out. This change moves out the code which actually opens the monitor device. * src/qemu/qemu_driver.c: Remove qemudOpenMonitor & methods calle

[libvirt] [PATCH 11/21] Move libvirtd event loop into background thread

2009-10-23 Thread Daniel P. Berrange
The virStateInitialize() call for starting up stateful drivers may require that the event loop is running already. This it is neccessary to start the event loop before this call. At the same time, network clients must not be processed until afte virStateInitialize has completed. The qemudListenUni

[libvirt] [PATCH 10/21] Don't let parent of daemon exit until basic initialization is done

2009-10-23 Thread Daniel P. Berrange
The daemonizing code lets the parent exit almost immediately. This means that it may think it has successfully started even when important failures occur like not being able to acquire the PID file. It also means network sockets are not yet open. To address this when daemonizing the parent passes

[libvirt] [PATCH 09/21] Pull signal setup code out into separate method

2009-10-23 Thread Daniel P. Berrange
* daemon/libvirtd.c: Introduce a daemonSetupSignals() method and put all signal handling code there * daemon/libvirtd.h: Add sigread/sigwrite to qemud_server type --- daemon/libvirtd.c | 128 +++- daemon/libvirtd.h |1 + 2 files changed, 77 in

[libvirt] [PATCH 08/21] Fix duplicating logging of errors in libvirtd

2009-10-23 Thread Daniel P. Berrange
The libvirt default error handling callback will print all errors to stderr. The libvirtd default logging callback will do the same. Set a no-op error handling callback in libvirtd to prevent this duplication * daemon/libvirtd.c: Register a no-op error handling function --- daemon/libvirtd.c |

[libvirt] [PATCH 03/21] Convert QEMU driver mutex into a rwlock

2009-10-23 Thread Daniel P. Berrange
A number of driver API methods which acquire the driver mutex only ever used the driver object in a read-only fashion. All these uses are converted to call qemuDriverLockRO() allowing for greater concurrency. * src/qemu/qemu_conf.h: s/Mutex/RWLock/ * src/qemu/qemu_driver.c: Add a qemuDriverLockRO(

[libvirt] [PATCH 06/21] Misc cleanup to network socket init

2009-10-23 Thread Daniel P. Berrange
* daemon/libvirtd.c: Change qemudNetworkInit() so that it doesn't try to free its argument, leaving the caller todo cleanup as is normal practice. Add missing policykit cleanup to qemudCleanup, and remove server watch if set. Remove duplicated call to listen() on TCP sockets --- daemon/libvirtd.c

[libvirt] [PATCH 07/21] Fix initialization order bugs

2009-10-23 Thread Daniel P. Berrange
virInitialize must be the first libvirt function called to ensure threads, error handling & random number generator are all setup. Move UNIX socket directory permissions change to place of use --- daemon/libvirtd.c | 21 ++--- 1 files changed, 10 insertions(+), 11 deletions(-)

[libvirt] [PATCH 05/21] Annotate many methods with ATTRIBUTE_RETURN_CHECK & fix problems

2009-10-23 Thread Daniel P. Berrange
Nearly all of the methods in src/util/util.h have error codes that must be checked by the caller to correct detect & report failure. Add ATTRIBUTE_RETURN_CHECK to ensure compile time validation of this * daemon/libvirtd.c: Add explicit check on return value of virAsprintf * src/conf/domain_conf.c:

[libvirt] [PATCH 04/21] Allow for a driver specific private data blob in virDomainObjPtr

2009-10-23 Thread Daniel P. Berrange
The virDomainObjPtr object stores state about a running domain. This object is shared across all drivers so it is not appropriate to include driver specific state here. This patch adds the ability to request a blob of private data per domain object instance. The driver must provide a allocator & de

[libvirt] [PATCH 02/21] Implement a RWLock primitive for drivers to use

2009-10-23 Thread Daniel P. Berrange
This implements a thin wrapper around the pthread_rwlock primitives. No impl is provided for Win32 at this time since it is rather hard, and none of our code yet requires it on Win32 * src/util/threads.h: Add virRWLockInit, virRWLockDestroy, virRWLockRead, virRWLockWrite, virRWLockUnlock APIs *

[libvirt] [PATCH 00/21] Rewrite the QEMU monitor handling

2009-10-23 Thread Daniel P. Berrange
This patch series rewrites the QEMU monitor handling almost completely. The key theme here is to move from a totally synchronous way of interacting with the monitor, to a totally asynchronous way. This allows us to handle receipt & dispatch of asychronous events from QEMU. For example a notificati

Re: [libvirt] libvirt: use existing network bridge

2009-10-23 Thread Sascha Frey
Daniel Berteaud wrote: [...] >> > I just want libvirt to attach the guest's tap devices to this existing >> > bridge. I don't want libvirt to manage the network. >> > >> > Is there any chance to realize this set-up? >> > It should work with virt-manager using the graphical wizard. >> >> Yes, jus

[libvirt] [PATCH] Add a new syntax-check rule for gethostname.

2009-10-23 Thread Chris Lalancette
We should always be using virGetHostname in place of gethostname; thus add in a new syntax-check rule to make sure no new uses creep in. Signed-off-by: Chris Lalancette --- .x-sc_prohibit_gethostname |2 ++ Makefile.am|1 + cfg.mk |5 + src/lib

[libvirt] [PATCH] Various syntax-check fixes.

2009-10-23 Thread Chris Lalancette
Make a pass over the syntax-check files, tightening up regex's, un-ignoring certain files, and cleaning things up. Signed-off-by: Chris Lalancette --- .x-sc_prohibit_VIR_ERR_NO_MEMORY | 13 + .x-sc_prohibit_gethostby |5 ++--- .x-sc_prohibit_strcmp_and_strncmp |7

[libvirt] [PATCH] Replace a gethostname by virGetHostname in libvirtd.c

2009-10-23 Thread Chris Lalancette
Signed-off-by: Chris Lalancette --- daemon/libvirtd.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c index 4eb33bc..02bd287 100644 --- a/daemon/libvirtd.c +++ b/daemon/libvirtd.c @@ -937,15 +937,19 @@ static struct qemud_ser

[libvirt] [PATCH] Tighten up nonreentrant syntax-check.

2009-10-23 Thread Chris Lalancette
We can slightly tighten up the regex's used to detect the use of nonreentrant functions. We can also check src/util/virterror.c by modifying a comment; I think it's worth it to get the additional coverage. Signed-off-by: Chris Lalancette --- .x-sc_prohibit_nonreentrant |8 src/util

[libvirt] [PATCH] Replace two strcmp() by STREQ() in qemu_driver.c

2009-10-23 Thread Chris Lalancette
Signed-off-by: Chris Lalancette --- src/qemu/qemu_driver.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 4cd235d..da7dda7 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -4142,7 +4142,7 @@ qemu

[libvirt] [PATCH] Replace gethostname by virGetHostname in xend_internal.c

2009-10-23 Thread Chris Lalancette
--- src/xen/xend_internal.c | 11 +-- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/src/xen/xend_internal.c b/src/xen/xend_internal.c index 27d215e..d3ab019 100644 --- a/src/xen/xend_internal.c +++ b/src/xen/xend_internal.c @@ -4342,21 +4342,12 @@ xenDaemonDomainMigrate

[libvirt] [PATCH] Update the documentation for virDomainMigrateToURI

2009-10-23 Thread Chris Lalancette
Signed-off-by: Chris Lalancette --- src/libvirt.c | 41 ++--- 1 files changed, 22 insertions(+), 19 deletions(-) diff --git a/src/libvirt.c b/src/libvirt.c index 9e87900..5787f22 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -3154,7 +3154,7 @@ virDomainM

[libvirt] [PATCH] Remove a completely bogus reference increment in the Xen driver.

2009-10-23 Thread Chris Lalancette
xenUnifiedDomainEventRegister() calls out to virDomainEventCallbackListAdd(), which increments the reference count on the connection. That is fine, but then xenUnifiedDomainEventRegister() increments the usage count again, leading to a usage count leak. Remove the increment in the xen register, a

[libvirt] [PATCH] Add a default log_level to qemudSetLogging to remove a build warning.

2009-10-23 Thread Chris Lalancette
(original patch from Charles Duffy) Signed-off-by: Chris Lalancette --- daemon/libvirtd.c | 11 +++ 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c index 03bc1b4..4eb33bc 100644 --- a/daemon/libvirtd.c +++ b/daemon/libvirtd.c @@ -250

[libvirt] [PATCH] Better error message when libvirtd fails to start.

2009-10-23 Thread Chris Lalancette
Signed-off-by: Chris Lalancette --- daemon/libvirtd.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c index 78dfb2d..03bc1b4 100644 --- a/daemon/libvirtd.c +++ b/daemon/libvirtd.c @@ -2972,7 +2972,9 @@ int main(int argc, char **arg

[libvirt] [PATCH] Fix up a bogus TLS message.

2009-10-23 Thread Chris Lalancette
When working with the TLS transport, I noticed that every single time a remote stream was closed, I would get a message like: 09:09:40.793: error : remoteIOReadBuffer:7328 : failed to read from TLS socket A TLS packet with unexpected length was received. libvir: QEMU error : failed to read from T

[libvirt] [PATCH] Remove redundant virFileDeletePID() call

2009-10-23 Thread Chris Lalancette
virFileDeletePID() is unnecessarily called in qemudRemoveDomainStatus(). The only caller of qemudRemoveDomainStatus() is qemudShutdownVMDaemon(), and that already calls virFileDeletePID (with a better error message). Remove the redundant call here. Signed-off-by: Chris Lalancette --- src/qemu/qe

[libvirt] invalid domain pointer

2009-10-23 Thread Stefan
Hello, my log files are filled with (5 times per second): error : invalid domain pointer in no domain with matching id -1 My system: libvirt 0.6.1, Ubuntu 9.04, 2.6.28-15-server #52-Ubuntu x86_64 Any ideas ? Thanks Stefan -- Libvir-list mailing list Libvir-list@redhat.com https://www.redh