[libvirt] [PATCH] qemu: Avoid overwriting errors from virGetHostname

2011-08-03 Thread Jiri Denemark
--- src/qemu/qemu_migration.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index 7aeea69..4d0e062 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -257,7 +257,7 @@

Re: [libvirt] libvirt-0.9.1 to 0.9.3-r1: managedsave/save won't start/restore at saved state

2011-08-03 Thread Nicolas Sebrecht
The 02/08/11, Nicolas Sebrecht wrote: I'm stuck! As told before, I have one working (in production) system and others failing Gentoo systems (including the testing machine). I've check the working system against the testing machine and looked for differences. I did remove differences one

[libvirt] [PATCH v3] daemon: Unlink unix socket paths on shutdown

2011-08-03 Thread Osier Yang
This patch introduces a internal RPC API virNetServerClose, which is standalone with virNetServerFree. it closes all the socket fds, and unlinks the unix socket paths, regardless of whether the socket is still referenced or not. This is to address regression bug:

Re: [libvirt] [PATCH] qemu: Avoid overwriting errors from virGetHostname

2011-08-03 Thread Eric Blake
On 08/03/2011 04:08 AM, Jiri Denemark wrote: --- src/qemu/qemu_migration.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index 7aeea69..4d0e062 100644 --- a/src/qemu/qemu_migration.c +++

Re: [libvirt] [PATCH v3] daemon: Unlink unix socket paths on shutdown

2011-08-03 Thread Eric Blake
On 08/03/2011 07:37 AM, Osier Yang wrote: This patch introduces a internal RPC API virNetServerClose, which is standalone with virNetServerFree. it closes all the socket fds, and unlinks the unix socket paths, regardless of whether the socket is still referenced or not. This is to address

[libvirt] [PATCH] rpc:fix sasl session relocking intead of unlocking it

2011-08-03 Thread Guannan Ren
When to make use of any SASL authentication for TCP sockets by setting auth_tls = sasl in libvirtd.conf on server side,The client will hange because of the sasl session relocking other than dropping it in virNetSASLSessionExtKeySize() --- src/rpc/virnetsaslcontext.c |2 +- 1 files changed, 1

[libvirt] speeding up qemu core dumps

2011-08-03 Thread Jim Fehlig
Hi All, I've had user reports of libvirt limiting KVM core dumps. This isn't quite true since libvirt just uses the default migration speed defined in qemu's migration.c /* Migration speed throttling */ static int64_t max_throttle = (32 20); AFAIK, there's not much interest in changing the

Re: [libvirt] [PATCH] Fix detection of GnuTLS 1.x.y

2011-08-03 Thread Eric Blake
On 08/03/2011 08:22 AM, Matthias Bolte wrote: Detection based on gnutls_session doesn't work because GnuTLS 2.x.y comes with a compat.h that defines gnutls_session to gnutls_session_t. Instead detect this based on LIBGNUTLS_VERSION_MAJOR. --- configure.ac | 22 +++--- 1

[libvirt] [PATCHv2 3/5] hyperv: Add OpenWSMAN based client for the Hyper-V WMI API

2011-08-03 Thread Matthias Bolte
Add a generator script to generate the structs and serialization information for OpenWSMAN. openwsman.h collects workarounds for problems in OpenWSMAN = 2.2.6. There are also disabled sections that would use ws_serializer_free_mem but can't because it's broken in OpenWSMAN = 2.2.6. Patches to fix

[libvirt] [PATCHv2 5/5] hyperv: Add basic documentation

2011-08-03 Thread Matthias Bolte
--- v2: - move microsoft.com link to drvhyperv.html.in docs/drivers.html.in |1 + docs/drvhyperv.html.in | 112 docs/index.html.in |3 + docs/sitemap.html.in |4 ++ src/README |3 +- 5 files changed, 122

[libvirt] [PATCHv2 4/5] hyperv: Add basic driver for Microsoft Hyper-V

2011-08-03 Thread Matthias Bolte
Domain listing, basic information retrieval and domain life cycle management is implemented. But currently the domian XML output lacks the complete devices section. The driver uses OpenWSMAN to directly communicate with an Hyper-V server over its WS-Management interface exposed via Microsoft

[libvirt] [PATCHv2 0/5] Add basic driver for Microsoft Hyper-V

2011-08-03 Thread Matthias Bolte
Version 2 of the Hyper-V driver. See the individual patches for the changes from version 1. Complete version 1 can be found here https://www.redhat.com/archives/libvir-list/2011-July/msg00766.html This series adds the basic driver and supports listing and retrieving information about existing

[libvirt] [PATCHv2 2/5] hyperv: Add driver skeleton

2011-08-03 Thread Matthias Bolte
--- v2: - move libvirt.spec.in change to 1/5 cfg.mk |1 + include/libvirt/virterror.h |1 + po/POTFILES.in |1 + src/Makefile.am | 29 + src/driver.h |1 +

Re: [libvirt] speeding up qemu core dumps

2011-08-03 Thread Eric Blake
On 08/03/2011 08:37 AM, Jim Fehlig wrote: http://lists.nongnu.org/archive/html/qemu-devel/2011-02/msg01156.html I thought there were more discussions on the topic but can only find the above thread ATM. Do folks here have objections to increasing the migration speed prior to core dump? If

[libvirt] [PATCHv2 1/5] hyperv: Add configure check for OpenWSMAN

2011-08-03 Thread Matthias Bolte
--- v2: - relax OpenWSMAN requirement to 2.2.3 - move libvirt.spec.in change from 2/5 here and fix OpenWSMAN package name - qoute all PKG_CHECK_MODULES parameters configure.ac| 38 ++ libvirt.spec.in |9 + 2 files changed, 47 insertions(+),

Re: [libvirt] [PATCH] Fix detection of GnuTLS 1.x.y

2011-08-03 Thread Eric Blake
On 08/03/2011 10:28 AM, Matthias Bolte wrote: 2011/8/3 Eric Blakeebl...@redhat.com: On 08/03/2011 08:22 AM, Matthias Bolte wrote: Detection based on gnutls_session doesn't work because GnuTLS 2.x.y comes with a compat.h that defines gnutls_session to gnutls_session_t. Instead detect this

Re: [libvirt] [PATCH] Fix detection of GnuTLS 1.x.y

2011-08-03 Thread Matthias Bolte
2011/8/3 Eric Blake ebl...@redhat.com: On 08/03/2011 08:22 AM, Matthias Bolte wrote: Detection based on gnutls_session doesn't work because GnuTLS 2.x.y comes with a compat.h that defines gnutls_session to gnutls_session_t. Instead detect this based on LIBGNUTLS_VERSION_MAJOR. ---  

[libvirt] [PATCH] build: update to latest gnulib

2011-08-03 Thread Eric Blake
I noticed that with 0.9.4, gnulib ended up replacing pthread_sigmask on glibc, even though glibc's works perfectly fine. It turns out to have been an upstream gnulib bug. * .gnulib: Update to latest, for pthread_sigmask fix. --- This missed the 0.9.4 release; oh well. * .gnulib

Re: [libvirt] [PATCH] Fix detection of GnuTLS 1.x.y

2011-08-03 Thread Matthias Bolte
2011/8/3 Eric Blake ebl...@redhat.com: On 08/03/2011 10:28 AM, Matthias Bolte wrote: 2011/8/3 Eric Blakeebl...@redhat.com: On 08/03/2011 08:22 AM, Matthias Bolte wrote: Detection based on gnutls_session doesn't work because GnuTLS 2.x.y comes with a compat.h that defines gnutls_session to

Re: [libvirt] [PATCH] build: update to latest gnulib

2011-08-03 Thread Matthias Bolte
2011/8/3 Eric Blake ebl...@redhat.com: I noticed that with 0.9.4, gnulib ended up replacing pthread_sigmask on glibc, even though glibc's works perfectly fine.  It turns out to have been an upstream gnulib bug. * .gnulib: Update to latest, for pthread_sigmask fix. --- This missed the 0.9.4

Re: [libvirt] [PATCH] build: update to latest gnulib

2011-08-03 Thread Eric Blake
On 08/03/2011 11:28 AM, Matthias Bolte wrote: 2011/8/3 Eric Blakeebl...@redhat.com: I noticed that with 0.9.4, gnulib ended up replacing pthread_sigmask on glibc, even though glibc's works perfectly fine. It turns out to have been an upstream gnulib bug. * .gnulib: Update to latest, for

[libvirt] [PATCH] network: eliminate lag in updating dnsmasq hosts files

2011-08-03 Thread Laine Stump
This addresses https://bugzilla.redhat.com/show_bug.cgi?id=713728 When defining a new network (or one that exists but isn't currently active) the new definition is stored in network-def, but for a network that already exists and is active, the new definition is stored in network-newDef, and then

Re: [libvirt] [Libvirt-announce] Release of libvirt-0.9.4

2011-08-03 Thread Justin Clift
On 03/08/2011, at 1:43 PM, Daniel Veillard wrote: With an extra day of delay but allowing to pick all coverity checks related patches from Eric, the release is out, I hope it's solid :-) available as usual at: ftp://libvirt.org/libvirt/libvirt-0.9.4.tar.gz along with signed RPMs Homebrew

Re: [libvirt] [PATCH v3] daemon: Unlink unix socket paths on shutdown

2011-08-03 Thread Osier Yang
于 2011年08月03日 21:04, Eric Blake 写道: On 08/03/2011 07:37 AM, Osier Yang wrote: This patch introduces a internal RPC API virNetServerClose, which is standalone with virNetServerFree. it closes all the socket fds, and unlinks the unix socket paths, regardless of whether the socket is still

Re: [libvirt] qemu-kvm=0.14 is unable to boot

2011-08-03 Thread Laine Stump
On 08/03/2011 01:16 AM, Zdenek Styblik wrote: Hello, I'm wondering what might be behind qemu-kvm=0.14 is unable to boot except from PXE and perhaps virtio HDD. I mean, is somebody running qemu-kvm=0.14 and libvirt-0.9.3/0.9.4 around here, thus is my setup broken? I had the problem that

Re: [libvirt] speeding up qemu core dumps

2011-08-03 Thread Jim Fehlig
Eric Blake wrote: On 08/03/2011 08:37 AM, Jim Fehlig wrote: http://lists.nongnu.org/archive/html/qemu-devel/2011-02/msg01156.html I thought there were more discussions on the topic but can only find the above thread ATM. Do folks here have objections to increasing the migration speed prior

[libvirt] [PATCH 2/3] qemu: avoid dead store in qemuMonitorTextBlockJob

2011-08-03 Thread ajia
Value stored to 'ret' is never read, so remove this dead assignment. * src/qemu/qemu_monitor_text.c: kill dead assignment. Signed-off-by: Alex Jia a...@redhat.com --- src/qemu/qemu_monitor_text.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

[libvirt] [PATCH 1/3] qemu: avoid dead store in qemuProcessStart

2011-08-03 Thread ajia
Value stored to 'ret' is never read, in fact, 'cleanup' section will directly return -1 when function is fail, so remove this dead assignment. * src/qemu/qemu_process.c: kill dead assignment. Signed-off-by: Alex Jia a...@redhat.com --- src/qemu/qemu_process.c |3 --- 1 files changed, 0

[libvirt] [PATCH 3/3] qemu: avoid dead store in doPeer2PeerMigrate3

2011-08-03 Thread ajia
Value stored to 'ret' is never read. If Confirm3 returns -1, there's nothing more we can do, here should remove this dead assignment. * src/qemu/qemu_migration.c: kill dead assignment. Signed-off-by: Alex Jia a...@redhat.com --- src/qemu/qemu_migration.c |6 +++--- 1 files changed, 3