[libvirt] [PATCH] network: fix (non)update of dnsmasq config during virDomainUpdateDeviceFlags
by Laine Stump
A forgotten "!" in recently-modified code at the top of
networkRefreshDaemon() meant an improper early return, which led to 1)
dnsmasq config files not being updated from the newly modified config,
and 2) dnsmasq not being sent a SIGHUP so that it could learn about
the changes to the config.
virNetworkDefGetIpByIndex() returns NULL if there are no ip objects of
the requested type, and if there are no IP elements, then dnsmasq
shouldn't be running, so we can return early. Otherwise we should
rewrite the config files and send a SIGHUP.
---
src/network/bridge_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index a32755d..c62e729 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -1123,7 +1123,7 @@ networkRefreshDhcpDaemon(struct network_driver *driver,
dnsmasqContext *dctx = NULL;
/* if no IP addresses specified, nothing to do */
- if (virNetworkDefGetIpByIndex(network->def, AF_UNSPEC, 0))
+ if (!virNetworkDefGetIpByIndex(network->def, AF_UNSPEC, 0))
return 0;
/* if there's no running dnsmasq, just start it */
--
1.7.11.7
12 years
[libvirt] [PATCH 0/2] qemu driver FreeBSD support: fix compilation, second round
by Roman Bogorodskiy
Second version of the patch which addresses issues pointed out by the
reviewers.
Roman Bogorodskiy (2):
Drop mntent.h include.
Qemu FreeBSD: fix compilation
configure.ac | 42 ++++++++++++++++++++++++++++++------------
src/qemu/qemu_conf.c | 1 -
src/qemu/qemu_process.c | 12 +++++++++++-
src/util/virinitctl.c | 9 +++++++++
4 files changed, 50 insertions(+), 14 deletions(-)
--
1.7.11.5
12 years
[libvirt] [PATCH] Define SANLK_INQ_WAIT if missing in headers
by Guido Günther
so we can build with older sanlock (like 2.2)
---
I've applied this to the current Debian builds since we're lagging a bit
regarding sanlock but it might make sense to also support this upstream.
Cheers,
-- Guido
src/locking/lock_driver_sanlock.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/locking/lock_driver_sanlock.c b/src/locking/lock_driver_sanlock.c
index 430e11e..84f81ec 100644
--- a/src/locking/lock_driver_sanlock.c
+++ b/src/locking/lock_driver_sanlock.c
@@ -338,6 +338,9 @@ retry:
if ((rv = sanlock_add_lockspace(&ls, 0)) < 0) {
if (-rv == EINPROGRESS) {
#ifdef HAVE_SANLOCK_INQ_LOCKSPACE
+# ifndef SANLK_INQ_WAIT
+# define SANLK_INQ_WAIT 0x00000001
+# endif
/* we have this function which blocks until lockspace change the
* state. It returns 0 if lockspace has been added, -ENOENT if it
* hasn't. XXX should we goto retry? */
--
1.7.10.4
12 years
[libvirt] [PATCH] qemu: Don't increment jobs counter before DomainObj ref count is incremented
by Michal Privoznik
Currently, if domain is being destroyed, it's private data can be
freed. If there's however another thread waiting to start a job,
it may lead to a NULL dereference and SIGSEGV. Check if reference
counter on domain object was successfully incremented.
Reported-By: Scott Sullivan <ssullivan(a)liquidweb.com>
---
Reported here:
https://www.redhat.com/archives/libvir-list/2012-December/msg00931.html
src/qemu/qemu_domain.c | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index 8d8cf02..5cc5bf7 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -764,18 +764,21 @@ qemuDomainObjBeginJobInternal(virQEMUDriverPtr driver,
enum qemuDomainJob job,
enum qemuDomainAsyncJob asyncJob)
{
- qemuDomainObjPrivatePtr priv = obj->privateData;
+ qemuDomainObjPrivatePtr priv;
unsigned long long now;
unsigned long long then;
bool nested = job == QEMU_JOB_ASYNC_NESTED;
- priv->jobs_queued++;
-
if (virTimeMillisNow(&now) < 0)
return -1;
then = now + QEMU_JOB_WAIT_TIME;
- virObjectRef(obj);
+ if (!virObjectRef(obj))
+ return -1;
+
+ priv = obj->privateData;
+ priv->jobs_queued++;
+
if (driver_locked)
qemuDriverUnlock(driver);
--
1.7.8.6
12 years
[libvirt] libvirtd crash upon virsh destroy
by Scott Sullivan
Running libvirt v1.0.0, with f0e72b2f5c675f927d04545dc5095f9e5998f171
applied. The problem (which I cannot reproduce reliably), is that
libvirtd crashes sometimes on a destroy (sequence of events and crash
log below).
I was wondering if anyone had any insights as to the cause of this
crash, or even if any commits after v1.0.0 might address this. If I can
provide anymore information to help debug this I would be happy to try
and provide it. At the time of this crash, the instance being destroyed
did not have any RBD attachments, it was just running off its local LVM.
Sequence of events:
1.) virsh destroy ID
End of file while reading data: Input/output error ; error: Failed to
reconnect to the hypervisor
(libvirtd at this point has crashed)
2.) Resulting crash entry from /var/log/libvirt/libvirtd.log:
2012-11-26 17:37:13.239+0000: 10314: error : qemuMonitorIO:614 :
internal error End of file from monitor
2012-11-27 16:48:56.195+0000: 10314: error : qemuMonitorIO:614 :
internal error End of file from monitor
Caught Segmentation violation dumping internal log buffer:
====== start of log =====
^@patchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=3 w=4
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.078+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=7 w=8, f=20 e=25 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=9 w=50563, f=18 e=5 d=0
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941072
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941072 due in 4994 ms
2012-11-27 16:48:56.078+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=10 timeout=4994
2012-11-27 16:48:56.078+000010314: debug : virEventPollRunOnce:625 :
Poll got 1 event(s)
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=3 w=4
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE:
watch=50563 events=2
2012-11-27 16:48:56.078+000010314: debug : virNetMessageFree:73 :
msg=0x888520 nfds=0 cb=(nil)
2012-11-27 16:48:56.078+000010314: debug :
virNetServerClientCalculateHandleMode:153 : tls=(nil) hs=-1, rx=0x88cd10
tx=(nil)
2012-11-27 16:48:56.078+000010314: debug :
virNetServerClientCalculateHandleMode:184 : mode=1
2012-11-27 16:48:56.078+000010314: debug : virEventPollUpdateHandle:146
: EVENT_POLL_UPDATE_HANDLE: watch=50563 events=1
2012-11-27 16:48:56.078+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.078+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=7 w=8, f=20 e=25 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=9 w=50563, f=18 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941072
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941072 due in 4994 ms
2012-11-27 16:48:56.078+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=10 timeout=4994
2012-11-27 16:48:56.078+000010314: debug : virEventPollRunOnce:625 :
Poll got 1 event(s)
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=3 w=4
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE:
watch=50563 events=1
2012-11-27 16:48:56.078+000010314: debug : virNetMessageDecodeLength:152
: Got length, now need 28 total (24 more)
2012-11-27 16:48:56.078+000010314: debug :
virNetServerClientCalculateHandleMode:153 : tls=(nil) hs=-1, rx=0x88cd10
tx=(nil)
2012-11-27 16:48:56.078+000010314: debug :
virNetServerClientCalculateHandleMode:184 : mode=1
2012-11-27 16:48:56.078+000010314: debug : virEventPollUpdateHandle:146
: EVENT_POLL_UPDATE_HANDLE: watch=50563 events=1
2012-11-27 16:48:56.078+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.078+000010314: debug :
virNetServerClientDispatchRead:1007 : RPC_SERVER_CLIENT_MSG_RX:
client=0x88d980 len=28 prog=536903814 vers=1 proc=110 type=0 status=0
serial=3
2012-11-27 16:48:56.078+000010314: debug : virKeepAliveCheckMessage:384
: ka=0x887c00, client=0x88d980, msg=0x88cd10
2012-11-27 16:48:56.078+000010314: debug : virEventPollUpdateTimeout:254
: EVENT_POLL_UPDATE_TIMEOUT: timer=101086 frequency=5000
2012-11-27 16:48:56.078+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.078+000010314: debug : virObjectRef:168 :
OBJECT_REF: obj=0x88d980
2012-11-27 16:48:56.078+000010314: debug :
virNetServerDispatchNewMessage:219 : server=0x879d80 client=0x88d980
message=0x88cd10
2012-11-27 16:48:56.078+000010314: debug : virObjectRef:168 :
OBJECT_REF: obj=0x882540
2012-11-27 16:48:56.078+000010314: debug : virNetMessageNew:45 :
msg=0x87af70 tracked=1
2012-11-27 16:48:56.078+000010314: debug :
virNetServerClientCalculateHandleMode:153 : tls=(nil) hs=-1, rx=0x87af70
tx=(nil)
2012-11-27 16:48:56.078+000010314: debug :
virNetServerClientCalculateHandleMode:184 : mode=1
2012-11-27 16:48:56.078+000010318: debug : virNetServerHandleJob:190 :
server=0x879d80 client=0x88d980 message=0x88cd10 prog=0x882540
2012-11-27 16:48:56.078+000010314: debug : virEventPollUpdateHandle:146
: EVENT_POLL_UPDATE_HANDLE: watch=50563 events=1
2012-11-27 16:48:56.078+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.078+000010318: debug :
virNetServerProgramDispatch:284 : prog=536903814 ver=1 type=0 status=0
serial=3 proc=110
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.078+000010318: debug :
remoteDispatchGetURIHelper:7297 : server=0x879d80 client=0x88d980
msg=0x88cd10 rerr=0x7f642e214be0 args=0x7f6400000cf0 ret=0x7f6400000c80
2012-11-27 16:48:56.078+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.078+000010318: debug : virConnectGetURI:1711 :
conn=0x7f641c0728f0
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.078+000010318: debug :
virNetMessageEncodePayload:358 : Encode length as 48
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.078+000010318: debug :
virNetServerClientSendMessageLocked:1251 : msg=0x88cd10 proc=110 len=48
offset=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.078+000010318: debug :
virNetServerClientSendMessageLocked:1259 :
RPC_SERVER_CLIENT_MSG_TX_QUEUE: client=0x88d980 len=48 prog=536903814
vers=1 proc=110 type=1 status=0 serial=3
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.078+000010318: debug :
virNetServerClientCalculateHandleMode:153 : tls=(nil) hs=-1, rx=0x87af70
tx=0x88cd10
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.078+000010318: debug :
virNetServerClientCalculateHandleMode:184 : mode=3
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.078+000010318: debug : virEventPollUpdateHandle:146
: EVENT_POLL_UPDATE_HANDLE: watch=50563 events=3
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=7 w=8, f=20 e=25 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=9 w=50563, f=18 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941078
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941078 due in 5000 ms
2012-11-27 16:48:56.078+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=10 timeout=5000
2012-11-27 16:48:56.078+000010318: debug :
virEventPollInterruptLocked:701 : Interrupting
2012-11-27 16:48:56.078+000010318: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x882540
2012-11-27 16:48:56.078+000010318: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x88d980
2012-11-27 16:48:56.078+000010314: debug : virEventPollRunOnce:625 :
Poll got 1 event(s)
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=3 w=4
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.078+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=7 w=8, f=20 e=25 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.078+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=9 w=50563, f=18 e=5 d=0
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941078
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941078 due in 5000 ms
2012-11-27 16:48:56.078+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=10 timeout=5000
2012-11-27 16:48:56.078+000010314: debug : virEventPollRunOnce:625 :
Poll got 1 event(s)
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=3 w=4
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.078+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE:
watch=50563 events=2
2012-11-27 16:48:56.078+000010314: debug : virNetMessageFree:73 :
msg=0x88cd10 nfds=0 cb=(nil)
2012-11-27 16:48:56.078+000010314: debug :
virNetServerClientCalculateHandleMode:153 : tls=(nil) hs=-1, rx=0x87af70
tx=(nil)
2012-11-27 16:48:56.078+000010314: debug :
virNetServerClientCalculateHandleMode:184 : mode=1
2012-11-27 16:48:56.078+000010314: debug : virEventPollUpdateHandle:146
: EVENT_POLL_UPDATE_HANDLE: watch=50563 events=1
2012-11-27 16:48:56.078+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.078+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.078+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=7 w=8, f=20 e=25 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=9 w=50563, f=18 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941078
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941078 due in 4999 ms
2012-11-27 16:48:56.079+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=10 timeout=4999
2012-11-27 16:48:56.079+000010314: debug : virEventPollRunOnce:625 :
Poll got 1 event(s)
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=3 w=4
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE:
watch=50563 events=1
2012-11-27 16:48:56.079+000010314: debug : virNetMessageDecodeLength:152
: Got length, now need 40 total (36 more)
2012-11-27 16:48:56.079+000010314: debug :
virNetServerClientCalculateHandleMode:153 : tls=(nil) hs=-1, rx=0x87af70
tx=(nil)
2012-11-27 16:48:56.079+000010314: debug :
virNetServerClientCalculateHandleMode:184 : mode=1
2012-11-27 16:48:56.079+000010314: debug : virEventPollUpdateHandle:146
: EVENT_POLL_UPDATE_HANDLE: watch=50563 events=1
2012-11-27 16:48:56.079+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.079+000010314: debug :
virNetServerClientDispatchRead:1007 : RPC_SERVER_CLIENT_MSG_RX:
client=0x88d980 len=40 prog=536903814 vers=1 proc=23 type=0 status=0
serial=4
2012-11-27 16:48:56.079+000010314: debug : virKeepAliveCheckMessage:384
: ka=0x887c00, client=0x88d980, msg=0x87af70
2012-11-27 16:48:56.079+000010314: debug : virEventPollUpdateTimeout:254
: EVENT_POLL_UPDATE_TIMEOUT: timer=101086 frequency=5000
2012-11-27 16:48:56.079+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.079+000010314: debug : virObjectRef:168 :
OBJECT_REF: obj=0x88d980
2012-11-27 16:48:56.079+000010314: debug :
virNetServerDispatchNewMessage:219 : server=0x879d80 client=0x88d980
message=0x87af70
2012-11-27 16:48:56.079+000010314: debug : virObjectRef:168 :
OBJECT_REF: obj=0x882540
2012-11-27 16:48:56.079+000010314: debug : virNetMessageNew:45 :
msg=0x888590 tracked=1
2012-11-27 16:48:56.079+000010314: debug :
virNetServerClientCalculateHandleMode:153 : tls=(nil) hs=-1, rx=0x888590
tx=(nil)
2012-11-27 16:48:56.079+000010314: debug :
virNetServerClientCalculateHandleMode:184 : mode=1
2012-11-27 16:48:56.079+000010314: debug : virEventPollUpdateHandle:146
: EVENT_POLL_UPDATE_HANDLE: watch=50563 events=1
2012-11-27 16:48:56.079+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.079+000010314: debug :
virNetServerClientDispatchRead:1007 : RPC_SERVER_CLIENT_MSG_RX:
client=0x88d980 len=40 prog=536903814 vers=1 proc=23 type=0 status=0
serial=4
2012-11-27 16:48:56.079+000010314: debug : virKeepAliveCheckMessage:384
: ka=0x887c00, client=0x88d980, msg=0x87af70
2012-11-27 16:48:56.079+000010314: debug : virEventPollUpdateTimeout:254
: EVENT_POLL_UPDATE_TIMEOUT: timer=101086 frequency=5000
2012-11-27 16:48:56.079+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.079+000010314: debug : virObjectRef:168 :
OBJECT_REF: obj=0x88d980
2012-11-27 16:48:56.079+000010314: debug :
virNetServerDispatchNewMessage:219 : server=0x879d80 client=0x88d980
message=0x87af70
2012-11-27 16:48:56.079+000010314: debug : virObjectRef:168 :
OBJECT_REF: obj=0x882540
2012-11-27 16:48:56.079+000010314: debug : virNetMessageNew:45 :
msg=0x888590 tracked=1
2012-11-27 16:48:56.079+000010314: debug :
virNetServerClientCalculateHandleMode:153 : tls=(nil) hs=-1, rx=0x888590
tx=(nil)
2012-11-27 16:48:56.079+000010314: debug :
virNetServerClientCalculateHandleMode:184 : mode=1
2012-11-27 16:48:56.079+000010314: debug : virEventPollUpdateHandle:146
: EVENT_POLL_UPDATE_HANDLE: watch=50563 events=1
2012-11-27 16:48:56.079+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.079+000010315: debug : virNetServerHandleJob:190 :
server=0x879d80 client=0x88d980 message=0x87af70 prog=0x882540
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.079+000010315: debug :
virNetServerProgramDispatch:284 : prog=536903814 ver=1 type=0 status=0
serial=4 proc=23
2012-11-27 16:48:56.079+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.079+000010315: debug :
remoteDispatchDomainLookupByNameHelper:3084 : server=0x879d80
client=0x88d980 msg=0x87af70 rerr=0x7f6430017be0 args=0x7f640800f550
ret=0x7f640800f610
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.079+000010315: debug : virDomainLookupByName:2128 :
conn=0x7f641c0728f0, name=4274X8
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.079+000010315: debug : virObjectNew:110 :
OBJECT_NEW: obj=0x7f640800f5d0 classname=virDomain
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.079+000010315: debug : virObjectRef:168 :
OBJECT_REF: obj=0x7f641c0728f0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=7 w=8, f=20 e=25 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.079+000010315: debug : virDomainFree:2292 :
dom=0x7f640800f5d0, (VM: name=4274X8,
uuid=3b14a4c4-19e0-11e2-ad58-8ccdadf125ba)
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=9 w=50563, f=18 e=1 d=0
2012-11-27 16:48:56.079+000010315: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x7f640800f5d0
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.079+000010315: debug : virObjectUnref:137 :
OBJECT_DISPOSE: obj=0x7f640800f5d0
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941079
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941079 due in 5000 ms
2012-11-27 16:48:56.079+000010315: debug : virDomainDispose:225 :
release domain 0x7f640800f5d0 4274X8 3b14a4c4-19e0-11e2-ad58-8ccdadf125ba
2012-11-27 16:48:56.079+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=10 timeout=5000
2012-11-27 16:48:56.079+000010315: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x7f641c0728f0
2012-11-27 16:48:56.079+000010315: debug :
virNetMessageEncodePayload:358 : Encode length as 60
2012-11-27 16:48:56.079+000010315: debug :
virNetServerClientSendMessageLocked:1251 : msg=0x87af70 proc=23 len=60
offset=0
2012-11-27 16:48:56.079+000010315: debug :
virNetServerClientSendMessageLocked:1259 :
RPC_SERVER_CLIENT_MSG_TX_QUEUE: client=0x88d980 len=60 prog=536903814
vers=1 proc=23 type=1 status=0 serial=4
2012-11-27 16:48:56.079+000010315: debug :
virNetServerClientCalculateHandleMode:153 : tls=(nil) hs=-1, rx=0x888590
tx=0x87af70
2012-11-27 16:48:56.079+000010315: debug :
virNetServerClientCalculateHandleMode:184 : mode=3
2012-11-27 16:48:56.079+000010315: debug : virEventPollUpdateHandle:146
: EVENT_POLL_UPDATE_HANDLE: watch=50563 events=3
2012-11-27 16:48:56.079+000010315: debug :
virEventPollInterruptLocked:701 : Interrupting
2012-11-27 16:48:56.079+000010315: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x882540
2012-11-27 16:48:56.079+000010315: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x88d980
2012-11-27 16:48:56.079+000010314: debug : virEventPollRunOnce:625 :
Poll got 1 event(s)
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=3 w=4
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.079+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=7 w=8, f=20 e=25 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=9 w=50563, f=18 e=5 d=0
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941079
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941079 due in 5000 ms
2012-11-27 16:48:56.079+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=10 timeout=5000
2012-11-27 16:48:56.079+000010314: debug : virEventPollRunOnce:625 :
Poll got 1 event(s)
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE:
watch=50563 events=2
2012-11-27 16:48:56.079+000010314: debug : virNetMessageFree:73 :
msg=0x87af70 nfds=0 cb=(nil)
2012-11-27 16:48:56.079+000010314: debug :
virNetServerClientCalculateHandleMode:153 : tls=(nil) hs=-1, rx=0x888590
tx=(nil)
2012-11-27 16:48:56.079+000010314: debug :
virNetServerClientCalculateHandleMode:184 : mode=1
2012-11-27 16:48:56.079+000010314: debug : virEventPollUpdateHandle:146
: EVENT_POLL_UPDATE_HANDLE: watch=50563 events=1
2012-11-27 16:48:56.079+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.079+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=7 w=8, f=20 e=25 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.079+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=9 w=50563, f=18 e=1 d=0
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941079
2012-11-27 16:48:56.079+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941079 due in 5000 ms
2012-11-27 16:48:56.079+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=10 timeout=5000
2012-11-27 16:48:56.079+000010314: debug : virEventPollRunOnce:625 :
Poll got 1 event(s)
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=3 w=4
2012-11-27 16:48:56.079+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.080+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.080+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.080+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.080+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.080+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.080+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE:
watch=50563 events=1
2012-11-27 16:48:56.080+000010314: debug : virNetMessageDecodeLength:152
: Got length, now need 60 total (56 more)
2012-11-27 16:48:56.080+000010314: debug :
virNetServerClientCalculateHandleMode:153 : tls=(nil) hs=-1, rx=0x888590
tx=(nil)
2012-11-27 16:48:56.080+000010314: debug :
virNetServerClientCalculateHandleMode:184 : mode=1
2012-11-27 16:48:56.080+000010314: debug : virEventPollUpdateHandle:146
: EVENT_POLL_UPDATE_HANDLE: watch=50563 events=1
2012-11-27 16:48:56.080+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.080+000010314: debug :
virNetServerClientDispatchRead:1007 : RPC_SERVER_CLIENT_MSG_RX:
client=0x88d980 len=60 prog=536903814 vers=1 proc=12 type=0 status=0
serial=5
2012-11-27 16:48:56.080+000010314: debug : virKeepAliveCheckMessage:384
: ka=0x887c00, client=0x88d980, msg=0x888590
2012-11-27 16:48:56.080+000010314: debug : virEventPollUpdateTimeout:254
: EVENT_POLL_UPDATE_TIMEOUT: timer=101086 frequency=5000
2012-11-27 16:48:56.080+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.080+000010314: debug : virObjectRef:168 :
OBJECT_REF: obj=0x88d980
2012-11-27 16:48:56.080+000010314: debug :
virNetServerDispatchNewMessage:219 : server=0x879d80 client=0x88d980
message=0x888590
2012-11-27 16:48:56.080+000010314: debug : virObjectRef:168 :
OBJECT_REF: obj=0x882540
2012-11-27 16:48:56.080+000010314: debug : virNetMessageNew:45 :
msg=0x88cd10 tracked=1
2012-11-27 16:48:56.080+000010314: debug :
virNetServerClientCalculateHandleMode:153 : tls=(nil) hs=-1, rx=0x88cd10
tx=(nil)
2012-11-27 16:48:56.080+000010314: debug :
virNetServerClientCalculateHandleMode:184 : mode=1
2012-11-27 16:48:56.080+000010314: debug : virEventPollUpdateHandle:146
: EVENT_POLL_UPDATE_HANDLE: watch=50563 events=1
2012-11-27 16:48:56.080+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.080+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.080+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.080+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.080+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.080+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.080+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.080+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.080+000010319: debug : virNetServerHandleJob:190 :
server=0x879d80 client=0x88d980 message=0x888590 prog=0x882540
2012-11-27 16:48:56.080+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.080+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.080+000010319: debug :
virNetServerProgramDispatch:284 : prog=536903814 ver=1 type=0 status=0
serial=5 proc=12
2012-11-27 16:48:56.080+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.080+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.080+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.080+000010319: debug :
remoteDispatchDomainDestroyHelper:1254 : server=0x879d80 client=0x88d980
msg=0x888590 rerr=0x7f642d813be0 args=0x7f64180021c0 ret=0x7f6418002bc0
2012-11-27 16:48:56.080+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=7 w=8, f=20 e=25 d=0
2012-11-27 16:48:56.080+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.080+000010319: debug : virObjectNew:110 :
OBJECT_NEW: obj=0x7f6418002180 classname=virDomain
2012-11-27 16:48:56.080+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=9 w=50563, f=18 e=1 d=0
2012-11-27 16:48:56.080+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.080+000010319: debug : virObjectRef:168 :
OBJECT_REF: obj=0x7f641c0728f0
2012-11-27 16:48:56.080+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941080
2012-11-27 16:48:56.080+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941080 due in 5000 ms
2012-11-27 16:48:56.080+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=10 timeout=5000
2012-11-27 16:48:56.080+000010319: debug : virDomainDestroy:2183 :
dom=0x7f6418002180, (VM: name=4274X8,
uuid=3b14a4c4-19e0-11e2-ad58-8ccdadf125ba)
2012-11-27 16:48:56.080+000010319: debug : qemuProcessKill:3941 :
vm=4274X8 pid=22404 flags=1
2012-11-27 16:48:56.080+000010319: debug : virProcessKillPainfully:253 :
vpid=22404 force=1
2012-11-27 16:48:56.097+000010314: debug : virEventPollRunOnce:625 :
Poll got 1 event(s)
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=3 w=4
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE: watch=6
events=1
2012-11-27 16:48:56.097+000010314: debug : virNetlinkEventCallback:346 :
dispatching to max 0 clients, called from event watch 6
2012-11-27 16:48:56.097+000010314: debug : virNetlinkEventCallback:359 :
event not handled.
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.097+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=7 w=8, f=20 e=25 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=9 w=50563, f=18 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941080
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941080 due in 4983 ms
2012-11-27 16:48:56.097+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=10 timeout=4983
2012-11-27 16:48:56.097+000010314: debug : virEventPollRunOnce:625 :
Poll got 1 event(s)
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=3 w=4
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE: watch=6
events=1
2012-11-27 16:48:56.097+000010314: debug : virNetlinkEventCallback:346 :
dispatching to max 0 clients, called from event watch 6
2012-11-27 16:48:56.097+000010314: debug : virNetlinkEventCallback:359 :
event not handled.
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.097+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=7 w=8, f=20 e=25 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=9 w=50563, f=18 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941080
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941080 due in 4983 ms
2012-11-27 16:48:56.097+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=10 timeout=4983
2012-11-27 16:48:56.097+000010314: debug : virEventPollRunOnce:625 :
Poll got 2 event(s)
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=3 w=4
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE: watch=6
events=1
2012-11-27 16:48:56.097+000010314: debug : virNetlinkEventCallback:346 :
dispatching to max 0 clients, called from event watch 6
2012-11-27 16:48:56.097+000010314: debug : virNetlinkEventCallback:359 :
event not handled.
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE: watch=7
events=1
2012-11-27 16:48:56.097+000010314: debug : udevEventHandleCallback:1467
: udev action: 'remove'
2012-11-27 16:48:56.097+000010314: debug : udevRemoveOneDevice:1218 :
Failed to find device to remove that has udev name
'/sys/devices/virtual/net/4274X8_0/queues/tx-0'
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.097+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=9 w=50563, f=18 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941080
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941080 due in 4983 ms
2012-11-27 16:48:56.097+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=10 timeout=4983
2012-11-27 16:48:56.097+000010314: debug : virEventPollRunOnce:625 :
Poll got 1 event(s)
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=3 w=4
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE: watch=7
events=1
2012-11-27 16:48:56.097+000010314: debug : udevEventHandleCallback:1467
: udev action: 'remove'
2012-11-27 16:48:56.097+000010314: debug : udevRemoveOneDevice:1218 :
Failed to find device to remove that has udev name
'/sys/devices/virtual/net/4274X8_0/queues/rx-0'
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.097+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.097+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=7 w=8, f=20 e=25 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.097+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=9 w=50563, f=18 e=1 d=0
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941080
2012-11-27 16:48:56.097+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941080 due in 4983 ms
2012-11-27 16:48:56.097+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=10 timeout=4983
2012-11-27 16:48:56.126+000010314: debug : virEventPollRunOnce:625 :
Poll got 1 event(s)
2012-11-27 16:48:56.126+000010314: debug :
virEventPollDispatchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.126+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.126+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.126+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.126+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.126+000010314: debug :
virEventPollDispatchHandles:469 : i=3 w=4
2012-11-27 16:48:56.126+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.126+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.126+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.126+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE: watch=7
events=1
2012-11-27 16:48:56.126+000010314: debug : udevEventHandleCallback:1467
: udev action: 'remove'
2012-11-27 16:48:56.126+000010314: debug : udevRemoveOneDevice:1214 :
Removing device 'net_4274X8_0_fe_54_00_4b_82_15' with sysfs path
'/sys/devices/virtual/net/4274X8_0'
2012-11-27 16:48:56.126+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.126+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.126+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.126+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.126+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.126+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.126+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.126+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.126+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.126+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.126+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.126+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.126+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.126+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.126+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.126+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=7 w=8, f=20 e=25 d=0
2012-11-27 16:48:56.126+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.126+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=9 w=50563, f=18 e=1 d=0
2012-11-27 16:48:56.126+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.126+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941080
2012-11-27 16:48:56.126+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941080 due in 4954 ms
2012-11-27 16:48:56.126+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=10 timeout=4954
2012-11-27 16:48:56.194+000010314: debug : virEventPollRunOnce:625 :
Poll got 1 event(s)
2012-11-27 16:48:56.194+000010314: debug :
virEventPollDispatchTimeouts:410 : Dispatch 2
2012-11-27 16:48:56.194+000010314: debug :
virEventPollDispatchHandles:455 : Dispatch 10
2012-11-27 16:48:56.194+000010314: debug :
virEventPollDispatchHandles:469 : i=0 w=1
2012-11-27 16:48:56.194+000010314: debug :
virEventPollDispatchHandles:469 : i=1 w=2
2012-11-27 16:48:56.194+000010314: debug :
virEventPollDispatchHandles:469 : i=2 w=3
2012-11-27 16:48:56.194+000010314: debug :
virEventPollDispatchHandles:469 : i=3 w=4
2012-11-27 16:48:56.194+000010314: debug :
virEventPollDispatchHandles:469 : i=4 w=5
2012-11-27 16:48:56.194+000010314: debug :
virEventPollDispatchHandles:469 : i=5 w=6
2012-11-27 16:48:56.194+000010314: debug :
virEventPollDispatchHandles:469 : i=6 w=7
2012-11-27 16:48:56.194+000010314: debug :
virEventPollDispatchHandles:469 : i=7 w=8
2012-11-27 16:48:56.194+000010314: debug :
virEventPollDispatchHandles:483 : EVENT_POLL_DISPATCH_HANDLE: watch=8
events=9
2012-11-27 16:48:56.194+000010314: debug : virObjectRef:168 :
OBJECT_REF: obj=0x7f6418000a10
2012-11-27 16:48:56.195+000010314: error : qemuMonitorIO:614 : internal
error End of file from monitor
2012-11-27 16:48:56.195+000010314: debug : qemuMonitorIO:647 : Error on
monitor internal error End of file from monitor
2012-11-27 16:48:56.195+000010314: debug : virEventPollUpdateHandle:146
: EVENT_POLL_UPDATE_HANDLE: watch=8 events=12
2012-11-27 16:48:56.195+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.195+000010314: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x7f6418000a10
2012-11-27 16:48:56.195+000010314: debug : qemuMonitorIO:670 :
Triggering EOF callback
2012-11-27 16:48:56.195+000010314: debug :
qemuProcessHandleMonitorEOF:283 : Received EOF on 0x7f64200072f0 '4274X8'
2012-11-27 16:48:56.280+000010319: debug : virObjectRef:168 :
OBJECT_REF: obj=0x7f64200072f0
2012-11-27 16:48:56.280+000010314: debug : qemuProcessStop:3992 :
Shutting down VM '4274X8' pid=22404 flags=0
2012-11-27 16:48:56.280+000010314: debug : virFileClose:72 : Closed fd 22
2012-11-27 16:48:56.280+000010314: debug : qemuMonitorClose:838 :
QEMU_MONITOR_CLOSE: mon=0x7f6418000a10 refs=2
2012-11-27 16:48:56.280+000010314: debug : virEventPollRemoveHandle:175
: EVENT_POLL_REMOVE_HANDLE: watch=8
2012-11-27 16:48:56.280+000010314: debug : virEventPollRemoveHandle:188
: mark delete 7 20
2012-11-27 16:48:56.280+000010314: debug :
virEventPollInterruptLocked:697 : Skip interrupt, 1 904570880
2012-11-27 16:48:56.280+000010314: debug : virFileClose:72 : Closed fd 20
2012-11-27 16:48:56.280+000010314: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x7f6418000a10
2012-11-27 16:48:56.280+000010314: debug : qemuProcessKill:3941 :
vm=4274X8 pid=22404 flags=5
2012-11-27 16:48:56.280+000010314: debug : virProcessKillPainfully:253 :
vpid=22404 force=1
2012-11-27 16:48:56.280+000010314: debug : virObjectRef:168 :
OBJECT_REF: obj=0x7f64200072f0
2012-11-27 16:48:56.280+000010314: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x7f64200072f0
2012-11-27 16:48:56.280+000010314: debug : qemuDomainCleanupRun:1996 :
driver=0x7f642001bd70, vm=4274X8
2012-11-27 16:48:56.280+000010314: debug :
qemuProcessAutoDestroyRemove:4463 : vm=4274X8
2012-11-27 16:48:56.280+000010314: debug :
qemuDriverCloseCallbackUnset:661 : vm=4274X8,
uuid=3b14a4c4-19e0-11e2-ad58-8ccdadf125ba, cb=0x7f6428cd7800
2012-11-27 16:48:56.280+000010314: debug :
virSecurityDACRestoreSecurityAllLabel:726 : Restoring security label on
4274X8 migrated=0
2012-11-27 16:48:56.280+000010314: info :
virSecurityDACRestoreSecurityFileLabel:315 : Restoring DAC user and
group on '/dev/LVM/4274X8'
2012-11-27 16:48:56.280+000010314: info : virSecurityDACSetOwnership:271
: Setting DAC user and group on '/dev/dm-4' to '0:0'
2012-11-27 16:48:56.280+000010314: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x7f64200a24a0
2012-11-27 16:48:56.280+000010314: debug : virObjectUnref:137 :
OBJECT_DISPOSE: obj=0x7f64200a24a0
2012-11-27 16:48:56.280+000010314: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x7f64200072f0
2012-11-27 16:48:56.280+000010314: debug :
virEventPollDispatchHandles:469 : i=8 w=42213
2012-11-27 16:48:56.280+000010314: debug :
virEventPollDispatchHandles:469 : i=9 w=50563
2012-11-27 16:48:56.280+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.280+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 10
2012-11-27 16:48:56.280+000010314: debug :
virEventPollCleanupHandles:562 : EVENT_POLL_PURGE_HANDLE: watch=8
2012-11-27 16:48:56.280+000010314: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x7f6418000a10
2012-11-27 16:48:56.280+000010314: debug : virObjectUnref:137 :
OBJECT_DISPOSE: obj=0x7f6418000a10
2012-11-27 16:48:56.280+000010314: debug : qemuMonitorDispose:247 :
mon=0x7f6418000a10
2012-11-27 16:48:56.280+000010314: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x7f64200072f0
2012-11-27 16:48:56.280+000010314: debug : virEventRunDefaultImpl:244 :
running default event implementation
2012-11-27 16:48:56.280+000010314: debug :
virEventPollCleanupTimeouts:501 : Cleanup 2
2012-11-27 16:48:56.280+000010314: debug :
virEventPollCleanupHandles:549 : Cleanup 9
2012-11-27 16:48:56.280+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=0 w=1, f=7 e=1 d=0
2012-11-27 16:48:56.280+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=1 w=2, f=9 e=1 d=0
2012-11-27 16:48:56.280+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=2 w=3, f=12 e=1 d=0
2012-11-27 16:48:56.281+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=3 w=4, f=13 e=1 d=0
2012-11-27 16:48:56.281+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=4 w=5, f=6 e=1 d=0
2012-11-27 16:48:56.281+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=5 w=6, f=14 e=1 d=0
2012-11-27 16:48:56.281+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=6 w=7, f=16 e=1 d=0
2012-11-27 16:48:56.281+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=7 w=42213, f=24 e=25 d=0
2012-11-27 16:48:56.281+000010314: debug : virEventPollMakePollFDs:378 :
Prepare n=8 w=50563, f=18 e=1 d=0
2012-11-27 16:48:56.281+000010314: debug :
virEventPollCalculateTimeout:320 : Calculate expiry of 2 timers
2012-11-27 16:48:56.281+000010314: debug :
virEventPollCalculateTimeout:326 : Got a timeout scheduled for 1354034941080
2012-11-27 16:48:56.281+000010314: debug :
virEventPollCalculateTimeout:346 : Timeout at 1354034941080 due in 4799 ms
2012-11-27 16:48:56.281+000010314: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN: nhandles=9 timeout=4799
2012-11-27 16:48:56.281+000010319: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x7f64200072f0
2012-11-27 16:48:56.281+000010319: debug : virObjectUnref:137 :
OBJECT_DISPOSE: obj=0x7f64200072f0
2012-11-27 16:48:56.281+000010319: debug : virDomainObjDispose:1746 :
obj=0x7f64200072f0
====== end of log =====
12 years
[libvirt] [PATCH] docs: fix some typos in examples
by Eric Blake
As detected in https://bugzilla.redhat.com/show_bug.cgi?id=887187
* docs/formatdomain.html.in: Fix XML typos.
---
Pushing under the trivial rule.
docs/formatdomain.html.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 8e234fd..b845a8a 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -1048,7 +1048,7 @@
<hap/>
<privnet/>
<hyperv>
- <relaxed state='on'>
+ <relaxed state='on'/>
</hyperv>
</features>
@@ -2584,7 +2584,7 @@
</interface>
<interface type='bridge'>
<source bridge='ovsbr'/>
- <virtualport type='openvswitch'/>
+ <virtualport type='openvswitch'>
<parameters profileid='menial' interfaceid='09b11c53-8b5c-4eeb-8f00-d84eaa0aaa4f'/>
</virtualport>
</interface>
@@ -3871,7 +3871,7 @@ qemu-kvm -net nic,model=? /dev/null
<serial type="dev">
<source path="/dev/ttyS0"/>
<target port="1"/>
- </serial>
+ </serial>
</devices>
...</pre>
--
1.8.0.2
12 years
[libvirt] [PATCH] sanlock: Re-add lockspace unconditionally
by Michal Privoznik
Currently, if sanlock is already registering a lockspace other
libvirtd instances (from other hosts) obtain -EINPROGRESS. On
sufficiently new sanlock, sanlock_inq_lockspace() is called,
which suspend execution until lockspace state is changed. With
current libvirt implementation, we fail to retry adding the
lockspace again but continue in error path. Therefore we produce
meaningless error message:
virLockManagerSanlockSetupLockspace:363 : Unable to add lockspace
/var/lib/libvirt/sanlock/__LIBVIRT__DISKS__: Success
qemudLoadDriverConfig:558 : Failed to load lock manager sanlock
We should try to re-add the lockspace after its state change to
be sure it was added successfully. In fact, with sufficiently new
sanlock we can just avoid dummy usleep() which is used if there's
no inquire API.
---
src/locking/lock_driver_sanlock.c | 20 ++++++++------------
1 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/src/locking/lock_driver_sanlock.c b/src/locking/lock_driver_sanlock.c
index 430e11e..a072343 100644
--- a/src/locking/lock_driver_sanlock.c
+++ b/src/locking/lock_driver_sanlock.c
@@ -197,9 +197,7 @@ static int virLockManagerSanlockSetupLockspace(void)
struct sanlk_lockspace ls;
char *path = NULL;
char *dir = NULL;
-#ifndef HAVE_SANLOCK_INQ_LOCKSPACE
int retries = LOCKSPACE_RETRIES;
-#endif
if (virAsprintf(&path, "%s/%s",
driver->autoDiskLeasePath,
@@ -332,25 +330,23 @@ static int virLockManagerSanlockSetupLockspace(void)
* either call a sanlock API that blocks us until lockspace changes state,
* or we can fallback to polling.
*/
-#ifndef HAVE_SANLOCK_INQ_LOCKSPACE
retry:
-#endif
if ((rv = sanlock_add_lockspace(&ls, 0)) < 0) {
- if (-rv == EINPROGRESS) {
+ if (-rv == EINPROGRESS && --retries) {
#ifdef HAVE_SANLOCK_INQ_LOCKSPACE
/* we have this function which blocks until lockspace change the
* state. It returns 0 if lockspace has been added, -ENOENT if it
- * hasn't. XXX should we goto retry? */
+ * hasn't. */
VIR_DEBUG("Inquiring lockspace");
- rv = sanlock_inq_lockspace(&ls, SANLK_INQ_WAIT);
+ if (sanlock_inq_lockspace(&ls, SANLK_INQ_WAIT) < 0)
+ VIR_DEBUG("Unable to inquire lockspace");
#else
/* fall back to polling */
- if (retries--) {
- usleep(LOCKSPACE_SLEEP * 1000);
- VIR_DEBUG("Retrying to add lockspace (left %d)", retries);
- goto retry;
- }
+ VIR_DEBUG("Sleeping for %dms", LOCKSPACE_SLEEP);
+ usleep(LOCKSPACE_SLEEP * 1000);
#endif
+ VIR_DEBUG("Retrying to add lockspace (left %d)", retries);
+ goto retry;
}
if (-rv != EEXIST) {
if (rv <= -200)
--
1.7.8.6
12 years
[libvirt] [PATCH] install: fix virtlockd installation
by Eric Blake
The virtlockd daemon scripts were lousy, when compared to their
counterparts in daemon/Makefile.am. In particular, when init
scripts were selected, this resulted in 'make distcheck' failing
due to failure to clean up src/virtlockd.init.
* src/Makefile.am (install-systemd): Fix dependencies. Use MKDIR_P.
(uninstall-systemd): Remove empty directory. Use fewer processes.
(install-init, install-sysconfig): Use MKDIR_P.
(uninstall-init): Remove correct file, and also empty directory.
(uninstall-sysconfig): Remove empty directory.
(CLEANFILES): Clean up built sources.
---
src/Makefile.am | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 25b6e3f..dd7e219 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1628,24 +1628,26 @@ EXTRA_DIST += locking/virtlockd.sysconf \
locking/test_libvirt_lockd.aug.in
install-sysconfig:
- mkdir -p $(DESTDIR)$(sysconfdir)/sysconfig
+ $(MKDIR_P) $(DESTDIR)$(sysconfdir)/sysconfig
$(INSTALL_DATA) $(srcdir)/locking/virtlockd.sysconf \
$(DESTDIR)$(sysconfdir)/sysconfig/virtlockd
uninstall-sysconfig:
rm -f $(DESTDIR)$(sysconfdir)/sysconfig/virtlockd
+ rmdir $(DESTDIR)$(sysconfdir)/sysconfig || :
EXTRA_DIST += locking/virtlockd.init.in
if WITH_LIBVIRTD
if LIBVIRT_INIT_SCRIPT_RED_HAT
install-init:: virtlockd.init install-sysconfig
- mkdir -p $(DESTDIR)$(sysconfdir)/rc.d/init.d
+ $(MKDIR_P) $(DESTDIR)$(sysconfdir)/rc.d/init.d
$(INSTALL_SCRIPT) virtlockd.init \
$(DESTDIR)$(sysconfdir)/rc.d/init.d/virtlockd
uninstall-init:: uninstall-sysconfig
- rm -f $(DESTDIR)$(sysconfdir)/rc.d/init.d/libvirtd
+ rm -f $(DESTDIR)$(sysconfdir)/rc.d/init.d/virtlockd
+ rmdir $(DESTDIR)$(sysconfdir)/rc.d/init.d || :
BUILT_SOURCES += virtlockd.init
else
@@ -1677,16 +1679,17 @@ SYSTEMD_UNIT_DIR = /lib/systemd/system
BUILT_SOURCES += virtlockd.service virtlockd.socket
-install-systemd: virtlockd.init install-sysconfig
- mkdir -p $(DESTDIR)$(SYSTEMD_UNIT_DIR)
+install-systemd: virtlockd.service virtlockd.socket install-sysconfig
+ $(MKDIR_P) $(DESTDIR)$(SYSTEMD_UNIT_DIR)
$(INSTALL_SCRIPT) virtlockd.service \
$(DESTDIR)$(SYSTEMD_UNIT_DIR)/
$(INSTALL_SCRIPT) virtlockd.socket \
$(DESTDIR)$(SYSTEMD_UNIT_DIR)/
uninstall-systemd: uninstall-sysconfig
- rm -f $(DESTDIR)$(SYSTEMD_UNIT_DIR)/virtlockd.service
- rm -f $(DESTDIR)$(SYSTEMD_UNIT_DIR)/virtlockd.socket
+ rm -f $(DESTDIR)$(SYSTEMD_UNIT_DIR)/virtlockd.service \
+ $(DESTDIR)$(SYSTEMD_UNIT_DIR)/virtlockd.socket
+ rmdir $(DESTDIR)$(SYSTEMD_UNIT_DIR) || :
else
install-systemd:
uninstall-systemd:
@@ -2050,5 +2053,6 @@ endif
rmdir "$(DESTDIR)$(localstatedir)/lib/libvirt" ||:
CLEANFILES += *.gcov .libs/*.gcda .libs/*.gcno *.gcno *.gcda *.i *.s
+CLEANFILES += $(BUILT_SOURCES)
DISTCLEANFILES += $(GENERATED_SYM_FILES)
MAINTAINERCLEANFILES += $(REMOTE_DRIVER_GENERATED) $(VIR_NET_RPC_GENERATED)
--
1.8.0.2
12 years
[libvirt] [PATCH] docs: Fix location of libvirt.conf and auth.conf
by Michał Łomnicki
For a unprivileged user libvirt.conf and auth.conf are looked up in
$XDG_CONFIG_HOME but the docs incorrectly state that it's $XDG_CONFIG_DIR.
---
docs/auth.html.in | 2 +-
docs/uri.html.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/auth.html.in b/docs/auth.html.in
index d792eb1..929afd0 100644
--- a/docs/auth.html.in
+++ b/docs/auth.html.in
@@ -25,7 +25,7 @@ for the authentication file using the following sequence:
variable.</li>
<li>The file path specified by the "authfile=/some/file" URI
query parameter</li>
- <li>The file $XDG_CONFIG_DIR/libvirt/auth.conf</li>
+ <li>The file $XDG_CONFIG_HOME/libvirt/auth.conf</li>
<li>The file /etc/libvirt/auth.conf</li>
</ol>
diff --git a/docs/uri.html.in b/docs/uri.html.in
index 5812ca9..97a1cdb 100644
--- a/docs/uri.html.in
+++ b/docs/uri.html.in
@@ -30,7 +30,7 @@ virConnectPtr conn = virConnectOpenReadOnly (<b>"test:///default"</b>);
<p>
To simplify life for administrators, it is possible to setup URI aliases in a
libvirt client configuration file. The configuration file is <code>/etc/libvirt/libvirt.conf</code>
-for the root user, or <code>$XDG_CONFIG_DIR/libvirt/libvirt.conf</code> for any unprivileged user.
+for the root user, or <code>$XDG_CONFIG_HOME/libvirt/libvirt.conf</code> for any unprivileged user.
In this file, the following syntax can be used to setup aliases
</p>
--
1.7.9.5
12 years