[libvirt] [PATCH] domain:screenshot: Added cleanup function
by Martin Kletzander
Added cleanup function to the screeshot testcase. This makes use of
the new "sharedmod" module.
---
WARNING: don't push this before the patch with sharedmod is pushed in
the repo, otherwise this will not work. Thanks.
repos/domain/screenshot.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/repos/domain/screenshot.py b/repos/domain/screenshot.py
index 3e727a7..5a12c4b 100644
--- a/repos/domain/screenshot.py
+++ b/repos/domain/screenshot.py
@@ -6,6 +6,7 @@ import os
import mimetypes
import libvirt
+import sharedmod
required_params = ('guestname', 'filename',)
optional_params = ('screen',)
@@ -36,6 +37,7 @@ def screenshot(params):
logger.debug('Mimetype of the file is %s' % mime)
ret = st.finish()
+ sharedmod.dict['screenshot_filename'] = filename
finally:
# Some error occurred, cleanup
@@ -43,3 +45,7 @@ def screenshot(params):
conn.close()
return ret
+
+def cleanup(params):
+ if sharedmod.has_key('screenshot_filename'):
+ os.remove(sharedmod['screenshot_filename'])
--
1.7.8.5
12 years, 7 months
[libvirt] numad: Convert node list to cpumap before affinity setting
by Osier Yang
Previous patches on numad made mistake with thinking numad
will return CPUs list (numad document says CPUs list one
place, and node list another place. :(
Please see the patches' commit message for the details.
Osier Yang (3)
numad: Convert node list to cpumap before setting affinity
numad: Ignore cpuset if placement is auto
qemu: Avoid the memory allocation and freeing
docs/formatdomain.html.in | 10 ++++----
src/conf/domain_conf.c | 28 ++++++++++++++------------
src/qemu/qemu_process.c | 47 +++++++++++++++++++++++---------------------
3 files changed, 45 insertions(+), 40 deletions(-)
Regards,
Osier
12 years, 7 months
[libvirt] [test-API PATCH 1/2] add a new option -t to print template of testcase config file
by Guannan Ren
If a given testcase has clean function, the clean flag will be
used automatically
# python libvirt-test-api.py -t repos/domain/attach_disk.py \
repos/storage/create_netfs_pool.py \
repos/domain/save.py
output:
domain:attach_disk
guestname
GUESTNAME
guesttype
GUESTTYPE
imagename
IMAGENAME
imagesize
IMAGESIZE
hdmodel
HDMODEL
storage:create_netfs_pool
poolname
POOLNAME
sourcename
SOURCENAME
sourcepath
SOURCEPATH
pooltype
POOLTYPE
[targetpath]
TARGETPATH
domain:save
guestname
GUESTNAME
filepath
FILEPATH
clean
---
libvirt-test-api.py | 49 +++++++++++++++++++++++++++++++++++++++++++++++--
proxy.py | 17 +++++++++++++++++
2 files changed, 64 insertions(+), 2 deletions(-)
diff --git a/libvirt-test-api.py b/libvirt-test-api.py
index c171276..385b52d 100644
--- a/libvirt-test-api.py
+++ b/libvirt-test-api.py
@@ -35,6 +35,7 @@ def usage():
print "Usage: libvirt_test_api.py <OPTIONS> <ARGUS>"
print "\noptions: -h, --help : Display usage information \
\n -c, --casefile: Specify configuration file \
+ \n -t, --template: Print testcase config file template \
\n -f, --logxml: Specify log file with type xml \
\n -l, --log-level: 0 or 1 currently \
\n -d, --delete-log: Delete log items \
@@ -45,6 +46,7 @@ def usage():
print "example: \
\n python libvirt-test-api.py -l 0|1 -c TEST.CONF \
\n python libvirt-test-api.py -c TEST.CONF -f TEST.XML \
+ \n python libvirt-test-api.py -t repos/domain/start.py ... \
\n python libvirt-test-api.py -m TESTONE.XML TESTTWO.XML \
\n python libvirt-test-api.py -d TEST.XML TESTRUNID TESTID \
\n python libvirt-test-api.py -d TEST.XML TESTRUNID \
@@ -215,6 +217,41 @@ class Main(object):
return 1
return 0
+ def print_casefile(self, testcases):
+ """print testcase file template"""
+ modcasename = []
+ for case in testcases:
+ if not os.path.isfile(case) or not case.endswith('.py'):
+ print "testcase %s couldn't be recognized" % case
+ return 1
+
+ paths = case.split('/')
+ modcasename.append(paths[1] + ':' + paths[2][:-3])
+
+ proxy_obj = proxy.Proxy(modcasename)
+ case_params = proxy_obj.get_params_variables()
+
+ string = "# the file is generated automatically, please\n" \
+ "# make some modifications before the use of it\n" \
+ "# params in [] are optional to its testcase\n"
+ for key in modcasename:
+ string += "%s\n" % key
+ required_params, optional_params = case_params[key]
+ for p in required_params:
+ string += " " * 4 + p + "\n"
+ string += " " * 8 + p.upper() + "\n"
+ for p in optional_params:
+ string += " " * 4 + "[" + p + "]\n"
+ string += " " * 8 + p.upper() + "\n"
+
+ if proxy_obj.has_clean_function(key):
+ string += "clean\n"
+
+ string += "\n"
+
+ print string
+ return 0
+
def remove_log(self, testrunid, testid = None):
""" to remove log item in the log xmlfile """
log_xml_parser = LogXMLParser(self.logxml)
@@ -274,8 +311,8 @@ if __name__ == "__main__":
loglevel = 0
try:
- opts, args = getopt.getopt(sys.argv[1:], "hc:l:dmr",
- ["help", "casefile=", "logxml=",
+ opts, args = getopt.getopt(sys.argv[1:], "hc:tl:dmr",
+ ["help", "casefile=", "template", "logxml=",
"delete-log=", "merge=", "rerun="])
except getopt.GetoptError, err:
print str(err)
@@ -288,6 +325,14 @@ if __name__ == "__main__":
sys.exit(0)
if o == "-c" or o == "--casefile":
casefile = v
+ if o == "-t" or o == "--template":
+ if len(args) <= 0:
+ usage()
+ sys.exit(1)
+ main = Main('', '', '', '')
+ if main.print_casefile(args):
+ sys.exit(1)
+ sys.exit(0)
if o == "-f" or o == "--logxml":
logxml = v
if o == "-l" or o == "--log-level":
diff --git a/proxy.py b/proxy.py
index fdbffd9..bc82a84 100644
--- a/proxy.py
+++ b/proxy.py
@@ -120,6 +120,23 @@ class Proxy(object):
("required_params or optional_params not found in %s" % testcase_name)
return case_params
+ def has_clean_function(self, testcase_name):
+ """ Return true if the testcase have clean function
+ """
+ if testcase_name not in self.testcases_names:
+ return False
+
+ elements = testcase_name.split(':')
+ casename = elements[1]
+ func = casename + '_clean'
+
+ casemod_ref = self.testcase_ref_dict[testcase_name]
+ var_func_names = dir(casemod_ref)
+
+ if func in var_func_names:
+ return True
+ return False
+
def get_call_dict(self, module, casename, func = None):
""" Return testing function reference dictionary """
case_abs_path = '%s.%s.%s' % ('repos', module, casename)
--
1.7.7.5
12 years, 7 months
[libvirt] [test-API PATCH 0/3] make clean function optional
by Guannan Ren
The set of patches is to make the writing of clean function optional.
If a testcase which doesn't dirty the testing environment, then the
TESTCASE_clean function could be optional or omitted.
Because loggers in python are static objects managed by the module itself.
When you create one, it won't be removed until the shell quit. In test-API
there are two loggers which are configured with two handlers for each.
we need to find a way to destruct these two loggers in order no to affect
other application. The idea is to clear the handlers of each logger in
destructor of CaseLog and EnvLog.
def __del__(self):
self.logger.handlers = []
rename some unclear function and variables.
for example: repos/domain/start.py
domain -> mod
start.py -> case
start() -> func
12 years, 7 months
[libvirt] [test-API PATCH 0/5] add TESTCASE_check optional function support
by Guannan Ren
In some cases, we need to check if the testing environment is satisfied
to run a certain testcase. The testcase only will be executed If some
specific hardware is present on box. The patches add a optional check
function support.
For example: a testcase named testa.py with testa_check() defined in
this file. The framework will run test_check(params) first, return 0
means pass, 1 means failure. If the check function failed. the testa(params)
will not be run. "Skip" is marked in output.
# testa.py
required_params = ()
optional_params = ('options')
def testa_check(params):
logger = params['logger']
logger.info("I am from testa_check")
return 1
def testa(params):
logger = params['logger']
logger.info("I am from testa")
return 1
The Output:
Checking Testing Environment...
Linux localhost.localdomain 3.2.5-3.fc16.x86_64 #1 SMP Thu Feb 9 01:24:38 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Virsh command line tool of libvirt: 0.9.10
libvirtd (libvirt) 0.9.10
Default URI: qemu:///system
QEMU emulator version 0.15.0 (qemu-kvm-0.15.0), Copyright (c) 2003-2008 Fabrice Bellard
Start Testing:
Case Count: 1
Log File: log/20120416142755/libvirt_test001
test:testa
14:27:56|INFO |I am from testa_check
14:27:56|INFO |Failed to meet testing requirement
Result: Skip
Summary:
Total:1 [Pass:0 Fail:0 Skip:1]
The testcase.conf file:
test:testa
options
value1
12 years, 7 months
[libvirt] [PATCH] Web placeholder for pending patches on the web site
by Daniel Veillard
This is based on recent developments on patch checker and the
goal is to keep a list of pending patches needing review on the
project web site. The page template in git just hold a pointer
to the web page.
diff --git a/docs/pending.html.in b/docs/pending.html.in
new file mode 100644
index 0000000..dfbe647
--- /dev/null
+++ b/docs/pending.html.in
@@ -0,0 +1,13 @@
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Pending patches needing review</title>
+ </head>
+ <body>
+ <h1>Pending patches needing review</h1>
+ <p> A list of pending patches needing review upstream is available
+ on <a href="http://libvirt.org/pending.html">the project pending
+ patches page</a>.</p>
+ </body>
+</html>
+
diff --git a/docs/sitemap.html.in b/docs/sitemap.html.in
index 1de2b20..8f58d46 100644
--- a/docs/sitemap.html.in
+++ b/docs/sitemap.html.in
@@ -332,6 +332,10 @@
<a href="todo.html">Todo list</a>
<span>Main feature request list</span>
</li>
+ <li>
+ <a href="pending.html">Pending patches</a>
+ <span>Pending patches awaiting reviews and integration</span>
+ </li>
</ul>
</li>
<li>
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
12 years, 7 months
[libvirt] [PATCH] domain:screenshot: fixed screen parameter
by Martin Kletzander
The screen parameter must be an integer.
I also chnaged it to variable parameter with the reasonable default.
---
repos/domain/screenshot.py | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/repos/domain/screenshot.py b/repos/domain/screenshot.py
index d73e980..3e727a7 100644
--- a/repos/domain/screenshot.py
+++ b/repos/domain/screenshot.py
@@ -7,8 +7,8 @@ import mimetypes
import libvirt
-required_params = ('guestname', 'screen', 'filename',)
-optional_params = ()
+required_params = ('guestname', 'filename',)
+optional_params = ('screen',)
def saver(stream, data, file_):
return file_.write(data)
@@ -24,7 +24,8 @@ def screenshot(params):
dom = conn.lookupByName(params['guestname'])
st = conn.newStream(0)
- mime = dom.screenshot(st, params['screen'], 0)
+ screen = params.get('screen', 0)
+ mime = dom.screenshot(st, int('screen'), 0)
ext = mimetypes.guess_extension(mime) or '.ppm'
filename = params['filename'] + ext
--
1.7.8.5
12 years, 7 months
[libvirt] libvirt slow responding after restart of service
by Anton Gorlov
after service libvirtd restarted has go slow responding
(virsh,virt-install and some other tools)
lsof /var/run/libvirt/libvirt-sock-ro and attach strace to this $PID
always show
futex(0x7d1f84, FUTEX_WAIT_PRIVATE, 3, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0x7d1f84, FUTEX_WAIT_PRIVATE, 5, NULL <detached ...>
in starce of any threds (strace -p $PID -ff -o /opt/virtdebug.log)
gdb show only
(gdb) bt
#0 0x00007f938c1e3703 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>)
at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00000000004fadd0 in virEventPollRunOnce () at util/event_poll.c:620
#2 0x00000000004f99e5 in virEventRunDefaultImpl () at util/event.c:247
#3 0x00007f938c9e76dd in virNetServerRun (srv=0x7d1e30) at
rpc/virnetserver.c:736
#4 0x0000000000423f2c in main (argc=<value optimized out>, argv=<value
optimized out>) at libvirtd.c:1609
LIBVIRT_DEFAULT_URI=qemu:///system time virsh -r list
ID Имя Статус
----------------------------------------------------
1 debian6.0 работает
0.00user 0.00system 0:28.29elapsed 0%CPU (0avgtext+0avgdata
21520maxresident)k
0inputs+0outputs (0major+1809minor)pagefaults 0swaps
and with LIBVIRT_DEBUG=1
LIBVIRT_DEBUG=1 LIBVIRT_DEFAULT_URI=qemu:///system time virsh -r list
2012-04-14 21:21:45.185+0000: 21338: info : libvirt version: 0.9.11,
package: alt3M60P1
2012-04-14 21:21:45.185+0000: 21338: debug : virInitialize:414 :
register drivers
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb22e8e0 name=Test
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering Test as driver 0
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterNetworkDriver:592 : registering Test as network driver 0
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterInterfaceDriver:625 : registering Test as interface driver 0
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterStorageDriver:658 : registering Test as storage driver 0
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterDeviceMonitor:691 : registering Test as device driver 0
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterSecretDriver:724
: registering Test as secret driver 0
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterNWFilterDriver:757 : registering Test as network filter driver 0
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb22fe20 name=Xen
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering Xen as driver 1
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb230de0 name=OPENVZ
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering OPENVZ as driver 2
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb231300 name=VMWARE
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering VMWARE as driver 3
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb2306c0 name=PHYP
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering PHYP as driver 4
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterStorageDriver:658 : registering PHYP as storage driver 1
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterInterfaceDriver:625 : registering PHYP as interface driver 1
2012-04-14 21:21:45.185+0000: 21338: debug : vboxRegister:137 :
VBoxCGlueInit failed, using dummy driver
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb231820 name=VBOX
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering VBOX as driver 5
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterNetworkDriver:592 : registering VBOX as network driver 1
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterStorageDriver:658 : registering VBOX as storage driver 2
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb234800 name=ESX
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering ESX as driver 6
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterInterfaceDriver:625 : registering ESX as interface driver 2
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterNetworkDriver:592 : registering ESX as network driver 2
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterStorageDriver:658 : registering ESX as storage driver 3
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterDeviceMonitor:691 : registering ESX as device driver 1
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterSecretDriver:724
: registering ESX as secret driver 1
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterNWFilterDriver:757 : registering ESX as network filter driver 1
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb22f1c0 name=remote
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering remote as driver 7
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterNetworkDriver:592 : registering remote as network driver 3
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterInterfaceDriver:625 : registering remote as interface driver 3
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterStorageDriver:658 : registering remote as storage driver 4
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterDeviceMonitor:691 : registering remote as device driver 2
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterSecretDriver:724
: registering remote as secret driver 2
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterNWFilterDriver:757 : registering remote as network filter
driver 2
2012-04-14 21:21:45.185+0000: 21338: debug :
virEventRegisterDefaultImpl:204 : registering default event implementation
2012-04-14 21:21:45.185+0000: 21338: debug : virEventPollAddHandle:116 :
Used 0 handle slots, adding at least 10 more
2012-04-14 21:21:45.185+0000: 21338: debug :
virEventPollInterruptLocked:702 : Skip interrupt, 0 0
2012-04-14 21:21:45.185+0000: 21338: debug : virEventPollAddHandle:141 :
EVENT_POLL_ADD_HANDLE: watch=1 fd=4 events=1 cb=0x7f16fad71670 op
2012-04-14 21:21:45.185+0000: 21338: debug : virEventRegisterImpl:177 :
addHandle=0x7f16fad72260 updateHandle=0x7f16fad72130
removeHandle=imeout=0x7f16fad71c50 updateTimeout=0x7f16fad71e20
removeTimeout=0x7f16fad71f50
2012-04-14 21:21:45.185+0000: 21338: debug : virConnectOpenAuth:1455 :
name=(null), auth=0x7f16fb22e860, flags=1
2012-04-14 21:21:45.186+0000: 21339: debug : virEventRunDefaultImpl:244
: running default event implementation
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:506 : Cleanup 0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:542 : Found 0 out of 0 timeout slots used,
releasing 0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupHandles:554 : Cleanup 1
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollMakePollFDs:383
: Prepare n=0 w=1, f=4 e=1 d=0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:325 : Calculate expiry of 0 timers
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:351 : Timeout at 0 due in -1 ms
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollRunOnce:619 :
EVENT_POLL_RUN: nhandles=1 timeout=-1
2012-04-14 21:21:45.186+0000: 21338: debug :
virConnectGetDefaultURI:1105 : Using LIBVIRT_DEFAULT_URI 'qemu:///system'
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1182 : name
"qemu:///system" to URI components:
scheme qemu
server (null)
user (null)
port 0
path /system
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 0 (Test) ...
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1232 : driver 0
Test returned DECLINED
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 1 (Xen) ...
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1232 : driver 1 Xen
returned DECLINED
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 2 (OPENVZ) ...
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1232 : driver 2
OPENVZ returned DECLINED
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 3 (VMWARE) ...
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1232 : driver 3
VMWARE returned DECLINED
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 4 (PHYP) ...
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1232 : driver 4
PHYP returned DECLINED
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 5 (VBOX) ...
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1232 : driver 5
VBOX returned DECLINED
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 6 (ESX) ...
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1232 : driver 6 ESX
returned DECLINED
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 7 (remote) ...
2012-04-14 21:21:45.186+0000: 21338: debug : doRemoteOpen:542 :
proceeding with name = qemu:///system
2012-04-14 21:21:45.186+0000: 21338: debug : doRemoteOpen:552 :
Connecting with transport 1
2012-04-14 21:21:45.186+0000: 21338: debug : doRemoteOpen:599 :
Proceeding with sockname /var/run/libvirt/libvirt-sock-ro
2012-04-14 21:21:45.186+0000: 21338: debug : virNetSocketNew:119 :
localAddr=0x7fff75e552a0 remoteAddr=0x7fff75e55210 fd=6 errfd
2012-04-14 21:21:45.186+0000: 21338: debug : virNetSocketNew:179 :
RPC_SOCKET_NEW: sock=0x680f90 refs=1 fd=6 errfd=-1 pid=0
localAddr=127.=127.0.0.1;0
2012-04-14 21:21:45.186+0000: 21338: debug : virNetSocketRef:709 :
RPC_SOCKET_REF: sock=0x680f90 refs=2
2012-04-14 21:21:45.186+0000: 21338: debug :
virEventPollInterruptLocked:706 : Interrupting
2012-04-14 21:21:45.186+0000: 21338: debug : virEventPollAddHandle:141 :
EVENT_POLL_ADD_HANDLE: watch=2 fd=6 events=1 cb=0x7f16fae700b0
op7f16fae707f0
2012-04-14 21:21:45.186+0000: 21338: debug : virKeepAliveNew:244 :
client=0x7f16fb283010, interval=-1, count=0
2012-04-14 21:21:45.186+0000: 21338: debug : virEventPollAddTimeout:225
: Used 0 timeout slots, adding at least 10 more
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollRunOnce:630 :
Poll got 1 event(s)
2012-04-14 21:21:45.186+0000: 21338: debug :
virEventPollInterruptLocked:706 : Interrupting
2012-04-14 21:21:45.186+0000: 21338: debug : virEventPollAddTimeout:248
: EVENT_POLL_ADD_TIMEOUT: timer=1 frequency=-1 cb=0x7f16fae6c180
ox7f16fae6c3a0
2012-04-14 21:21:45.186+0000: 21338: debug : virKeepAliveNew:277 :
RPC_KEEPALIVE_NEW: ka=0x680870 client=0x7f16fb283010 refs=2
2012-04-14 21:21:45.186+0000: 21338: debug : virNetClientNew:324 :
RPC_CLIENT_NEW: client=0x7f16fb283010 refs=3 sock=0x680f9
2012-04-14 21:21:45.186+0000: 21338: debug : doRemoteOpen:684 : Trying
authentication
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchTimeouts:415 : Dispatch 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:460 : Dispatch 1
2012-04-14 21:21:45.186+0000: 21338: debug : virNetMessageNew:48 :
msg=0x7f16f43fb010 tracked=0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:474 : i=0 w=1
2012-04-14 21:21:45.186+0000: 21338: debug :
virNetMessageEncodePayload:351 : Encode length as 28
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:488 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:506 : Cleanup 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupHandles:554 : Cleanup 2
2012-04-14 21:21:45.186+0000: 21339: debug : virEventRunDefaultImpl:244
: running default event implementation
2012-04-14 21:21:45.186+0000: 21338: debug :
virNetClientSendInternal:1675 : RPC_CLIENT_MSG_TX_QUEUE:
client=0x7f16fb283010 len=28 prog=53=66 type=0 status=0 serial=0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:506 : Cleanup 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupHandles:554 : Cleanup 2
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollMakePollFDs:383
: Prepare n=0 w=1, f=4 e=1 d=0
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollMakePollFDs:383
: Prepare n=1 w=2, f=6 e=1 d=0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:325 : Calculate expiry of 1 timers
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:351 : Timeout at 0 due in -1 ms
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollRunOnce:619 :
EVENT_POLL_RUN: nhandles=2 timeout=-1
2012-04-14 21:21:45.186+0000: 21338: debug : virNetClientIO:1533 :
Outgoing message prog=536903814 version=1 serial=0 proc=66 type=0 lengt
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollRunOnce:630 :
Poll got 1 event(s)
2012-04-14 21:21:45.186+0000: 21338: debug : virNetClientIO:1591 : We
have the buck 0x6822d0 0x6822d0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchTimeouts:415 : Dispatch 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:460 : Dispatch 2
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:474 : i=0 w=1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:488 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2012-04-14 21:21:45.186+0000: 21338: debug :
virEventPollUpdateHandle:151 : EVENT_POLL_UPDATE_HANDLE: watch=2 events=0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:474 : i=1 w=2
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:506 : Cleanup 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupHandles:554 : Cleanup 2
2012-04-14 21:21:45.186+0000: 21339: debug : virEventRunDefaultImpl:244
: running default event implementation
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:506 : Cleanup 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupHandles:554 : Cleanup 2
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollMakePollFDs:383
: Prepare n=0 w=1, f=4 e=1 d=0
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollMakePollFDs:383
: Prepare n=1 w=2, f=6 e=1 d=0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:325 : Calculate expiry of 1 timers
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:351 : Timeout at 0 due in -1 ms
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollRunOnce:619 :
EVENT_POLL_RUN: nhandles=2 timeout=-1
2012-04-14 21:21:45.186+0000: 21338: debug :
virEventPollInterruptLocked:706 : Interrupting
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollRunOnce:630 :
Poll got 1 event(s)
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchTimeouts:415 : Dispatch 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:460 : Dispatch 2
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:474 : i=0 w=1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:488 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:506 : Cleanup 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupHandles:554 : Cleanup 2
2012-04-14 21:21:45.186+0000: 21339: debug : virEventRunDefaultImpl:244
: running default event implementation
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:506 : Cleanup 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupHandles:554 : Cleanup 2
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollMakePollFDs:383
: Prepare n=0 w=1, f=4 e=1 d=0
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollMakePollFDs:383
: Prepare n=1 w=2, f=6 e=0 d=0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:325 : Calculate expiry of 1 timers
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:351 : Timeout at 0 due in -1 ms
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollRunOnce:619 :
EVENT_POLL_RUN: nhandles=1 timeout=-1
uname -a
Linux f37.local 3.3.1-std-def-alt1 #1 SMP Tue Apr 10 13:27:26 UTC 2012
x86_64 GNU/Linux
libvirtd --version
libvirtd (libvirt) 0.9.11
12 years, 7 months
[libvirt] [PATCH] Fix macvtap detection by also checking for IFLA_VF_MAX
by Guido Günther
since this isn't available on older kernels such as Debian Squeeze's
2.6.32. This make --with-macvtap=check work as expected.
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
O.k. to apply?
Cheers,
-- Guido
diff --git a/configure.ac b/configure.ac
index 3f5b3ff..53c9b34 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2534,7 +2534,8 @@ AC_MSG_CHECKING([whether to compile with macvtap support])
if test "$with_macvtap" != "no" ; then
AC_TRY_COMPILE([ #include <sys/socket.h>
#include <linux/rtnetlink.h> ],
- [ int x = MACVLAN_MODE_BRIDGE; ],
+ [ int x = MACVLAN_MODE_BRIDGE;
+ int y = IFLA_VF_MAX; ],
[ with_macvtap=yes ],
[ if test "$with_macvtap" = "yes" ; then
AC_MSG_ERROR([Installed linux headers don't show support for macvtap device.])
--
1.7.9.5
12 years, 7 months
[libvirt] libvirt slow responding after restart of service
by Anton Gorlov
after service libvirtd restarted has go slow responding
(virsh,virt-install and some other tools)
lsof /var/run/libvirt/libvirt-sock-ro and attach strace to this $PID
always show
futex(0x7d1f84, FUTEX_WAIT_PRIVATE, 3, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0x7d1f84, FUTEX_WAIT_PRIVATE, 5, NULL <detached ...>
in starce of any threds (strace -p $PID -ff -o /opt/virtdebug.log)
gdb show only
(gdb) bt
#0 0x00007f938c1e3703 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>)
at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00000000004fadd0 in virEventPollRunOnce () at util/event_poll.c:620
#2 0x00000000004f99e5 in virEventRunDefaultImpl () at util/event.c:247
#3 0x00007f938c9e76dd in virNetServerRun (srv=0x7d1e30) at
rpc/virnetserver.c:736
#4 0x0000000000423f2c in main (argc=<value optimized out>, argv=<value
optimized out>) at libvirtd.c:1609
LIBVIRT_DEFAULT_URI=qemu:///system time virsh -r list
ID Имя Статус
----------------------------------------------------
1 debian6.0 работает
0.00user 0.00system 0:28.29elapsed 0%CPU (0avgtext+0avgdata
21520maxresident)k
0inputs+0outputs (0major+1809minor)pagefaults 0swaps
and with LIBVIRT_DEBUG=1
LIBVIRT_DEBUG=1 LIBVIRT_DEFAULT_URI=qemu:///system time virsh -r list
2012-04-14 21:21:45.185+0000: 21338: info : libvirt version: 0.9.11,
package: alt3M60P1
2012-04-14 21:21:45.185+0000: 21338: debug : virInitialize:414 :
register drivers
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb22e8e0 name=Test
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering Test as driver 0
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterNetworkDriver:592 : registering Test as network driver 0
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterInterfaceDriver:625 : registering Test as interface driver 0
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterStorageDriver:658 : registering Test as storage driver 0
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterDeviceMonitor:691 : registering Test as device driver 0
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterSecretDriver:724
: registering Test as secret driver 0
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterNWFilterDriver:757 : registering Test as network filter driver 0
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb22fe20 name=Xen
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering Xen as driver 1
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb230de0 name=OPENVZ
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering OPENVZ as driver 2
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb231300 name=VMWARE
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering VMWARE as driver 3
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb2306c0 name=PHYP
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering PHYP as driver 4
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterStorageDriver:658 : registering PHYP as storage driver 1
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterInterfaceDriver:625 : registering PHYP as interface driver 1
2012-04-14 21:21:45.185+0000: 21338: debug : vboxRegister:137 :
VBoxCGlueInit failed, using dummy driver
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb231820 name=VBOX
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering VBOX as driver 5
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterNetworkDriver:592 : registering VBOX as network driver 1
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterStorageDriver:658 : registering VBOX as storage driver 2
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb234800 name=ESX
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering ESX as driver 6
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterInterfaceDriver:625 : registering ESX as interface driver 2
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterNetworkDriver:592 : registering ESX as network driver 2
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterStorageDriver:658 : registering ESX as storage driver 3
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterDeviceMonitor:691 : registering ESX as device driver 1
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterSecretDriver:724
: registering ESX as secret driver 1
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterNWFilterDriver:757 : registering ESX as network filter driver 1
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:775 :
driver=0x7f16fb22f1c0 name=remote
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterDriver:799 :
registering remote as driver 7
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterNetworkDriver:592 : registering remote as network driver 3
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterInterfaceDriver:625 : registering remote as interface driver 3
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterStorageDriver:658 : registering remote as storage driver 4
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterDeviceMonitor:691 : registering remote as device driver 2
2012-04-14 21:21:45.185+0000: 21338: debug : virRegisterSecretDriver:724
: registering remote as secret driver 2
2012-04-14 21:21:45.185+0000: 21338: debug :
virRegisterNWFilterDriver:757 : registering remote as network filter
driver 2
2012-04-14 21:21:45.185+0000: 21338: debug :
virEventRegisterDefaultImpl:204 : registering default event implementation
2012-04-14 21:21:45.185+0000: 21338: debug : virEventPollAddHandle:116 :
Used 0 handle slots, adding at least 10 more
2012-04-14 21:21:45.185+0000: 21338: debug :
virEventPollInterruptLocked:702 : Skip interrupt, 0 0
2012-04-14 21:21:45.185+0000: 21338: debug : virEventPollAddHandle:141 :
EVENT_POLL_ADD_HANDLE: watch=1 fd=4 events=1 cb=0x7f16fad71670 op
2012-04-14 21:21:45.185+0000: 21338: debug : virEventRegisterImpl:177 :
addHandle=0x7f16fad72260 updateHandle=0x7f16fad72130
removeHandle=imeout=0x7f16fad71c50 updateTimeout=0x7f16fad71e20
removeTimeout=0x7f16fad71f50
2012-04-14 21:21:45.185+0000: 21338: debug : virConnectOpenAuth:1455 :
name=(null), auth=0x7f16fb22e860, flags=1
2012-04-14 21:21:45.186+0000: 21339: debug : virEventRunDefaultImpl:244
: running default event implementation
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:506 : Cleanup 0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:542 : Found 0 out of 0 timeout slots used,
releasing 0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupHandles:554 : Cleanup 1
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollMakePollFDs:383
: Prepare n=0 w=1, f=4 e=1 d=0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:325 : Calculate expiry of 0 timers
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:351 : Timeout at 0 due in -1 ms
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollRunOnce:619 :
EVENT_POLL_RUN: nhandles=1 timeout=-1
2012-04-14 21:21:45.186+0000: 21338: debug :
virConnectGetDefaultURI:1105 : Using LIBVIRT_DEFAULT_URI 'qemu:///system'
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1182 : name
"qemu:///system" to URI components:
scheme qemu
server (null)
user (null)
port 0
path /system
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 0 (Test) ...
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1232 : driver 0
Test returned DECLINED
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 1 (Xen) ...
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1232 : driver 1 Xen
returned DECLINED
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 2 (OPENVZ) ...
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1232 : driver 2
OPENVZ returned DECLINED
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 3 (VMWARE) ...
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1232 : driver 3
VMWARE returned DECLINED
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 4 (PHYP) ...
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1232 : driver 4
PHYP returned DECLINED
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 5 (VBOX) ...
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1232 : driver 5
VBOX returned DECLINED
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 6 (ESX) ...
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1232 : driver 6 ESX
returned DECLINED
2012-04-14 21:21:45.186+0000: 21338: debug : do_open:1226 : trying
driver 7 (remote) ...
2012-04-14 21:21:45.186+0000: 21338: debug : doRemoteOpen:542 :
proceeding with name = qemu:///system
2012-04-14 21:21:45.186+0000: 21338: debug : doRemoteOpen:552 :
Connecting with transport 1
2012-04-14 21:21:45.186+0000: 21338: debug : doRemoteOpen:599 :
Proceeding with sockname /var/run/libvirt/libvirt-sock-ro
2012-04-14 21:21:45.186+0000: 21338: debug : virNetSocketNew:119 :
localAddr=0x7fff75e552a0 remoteAddr=0x7fff75e55210 fd=6 errfd
2012-04-14 21:21:45.186+0000: 21338: debug : virNetSocketNew:179 :
RPC_SOCKET_NEW: sock=0x680f90 refs=1 fd=6 errfd=-1 pid=0
localAddr=127.=127.0.0.1;0
2012-04-14 21:21:45.186+0000: 21338: debug : virNetSocketRef:709 :
RPC_SOCKET_REF: sock=0x680f90 refs=2
2012-04-14 21:21:45.186+0000: 21338: debug :
virEventPollInterruptLocked:706 : Interrupting
2012-04-14 21:21:45.186+0000: 21338: debug : virEventPollAddHandle:141 :
EVENT_POLL_ADD_HANDLE: watch=2 fd=6 events=1 cb=0x7f16fae700b0
op7f16fae707f0
2012-04-14 21:21:45.186+0000: 21338: debug : virKeepAliveNew:244 :
client=0x7f16fb283010, interval=-1, count=0
2012-04-14 21:21:45.186+0000: 21338: debug : virEventPollAddTimeout:225
: Used 0 timeout slots, adding at least 10 more
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollRunOnce:630 :
Poll got 1 event(s)
2012-04-14 21:21:45.186+0000: 21338: debug :
virEventPollInterruptLocked:706 : Interrupting
2012-04-14 21:21:45.186+0000: 21338: debug : virEventPollAddTimeout:248
: EVENT_POLL_ADD_TIMEOUT: timer=1 frequency=-1 cb=0x7f16fae6c180
ox7f16fae6c3a0
2012-04-14 21:21:45.186+0000: 21338: debug : virKeepAliveNew:277 :
RPC_KEEPALIVE_NEW: ka=0x680870 client=0x7f16fb283010 refs=2
2012-04-14 21:21:45.186+0000: 21338: debug : virNetClientNew:324 :
RPC_CLIENT_NEW: client=0x7f16fb283010 refs=3 sock=0x680f9
2012-04-14 21:21:45.186+0000: 21338: debug : doRemoteOpen:684 : Trying
authentication
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchTimeouts:415 : Dispatch 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:460 : Dispatch 1
2012-04-14 21:21:45.186+0000: 21338: debug : virNetMessageNew:48 :
msg=0x7f16f43fb010 tracked=0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:474 : i=0 w=1
2012-04-14 21:21:45.186+0000: 21338: debug :
virNetMessageEncodePayload:351 : Encode length as 28
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:488 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:506 : Cleanup 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupHandles:554 : Cleanup 2
2012-04-14 21:21:45.186+0000: 21339: debug : virEventRunDefaultImpl:244
: running default event implementation
2012-04-14 21:21:45.186+0000: 21338: debug :
virNetClientSendInternal:1675 : RPC_CLIENT_MSG_TX_QUEUE:
client=0x7f16fb283010 len=28 prog=53=66 type=0 status=0 serial=0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:506 : Cleanup 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupHandles:554 : Cleanup 2
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollMakePollFDs:383
: Prepare n=0 w=1, f=4 e=1 d=0
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollMakePollFDs:383
: Prepare n=1 w=2, f=6 e=1 d=0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:325 : Calculate expiry of 1 timers
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:351 : Timeout at 0 due in -1 ms
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollRunOnce:619 :
EVENT_POLL_RUN: nhandles=2 timeout=-1
2012-04-14 21:21:45.186+0000: 21338: debug : virNetClientIO:1533 :
Outgoing message prog=536903814 version=1 serial=0 proc=66 type=0 lengt
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollRunOnce:630 :
Poll got 1 event(s)
2012-04-14 21:21:45.186+0000: 21338: debug : virNetClientIO:1591 : We
have the buck 0x6822d0 0x6822d0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchTimeouts:415 : Dispatch 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:460 : Dispatch 2
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:474 : i=0 w=1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:488 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2012-04-14 21:21:45.186+0000: 21338: debug :
virEventPollUpdateHandle:151 : EVENT_POLL_UPDATE_HANDLE: watch=2 events=0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:474 : i=1 w=2
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:506 : Cleanup 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupHandles:554 : Cleanup 2
2012-04-14 21:21:45.186+0000: 21339: debug : virEventRunDefaultImpl:244
: running default event implementation
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:506 : Cleanup 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupHandles:554 : Cleanup 2
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollMakePollFDs:383
: Prepare n=0 w=1, f=4 e=1 d=0
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollMakePollFDs:383
: Prepare n=1 w=2, f=6 e=1 d=0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:325 : Calculate expiry of 1 timers
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:351 : Timeout at 0 due in -1 ms
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollRunOnce:619 :
EVENT_POLL_RUN: nhandles=2 timeout=-1
2012-04-14 21:21:45.186+0000: 21338: debug :
virEventPollInterruptLocked:706 : Interrupting
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollRunOnce:630 :
Poll got 1 event(s)
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchTimeouts:415 : Dispatch 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:460 : Dispatch 2
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:474 : i=0 w=1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollDispatchHandles:488 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:506 : Cleanup 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupHandles:554 : Cleanup 2
2012-04-14 21:21:45.186+0000: 21339: debug : virEventRunDefaultImpl:244
: running default event implementation
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupTimeouts:506 : Cleanup 1
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCleanupHandles:554 : Cleanup 2
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollMakePollFDs:383
: Prepare n=0 w=1, f=4 e=1 d=0
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollMakePollFDs:383
: Prepare n=1 w=2, f=6 e=0 d=0
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:325 : Calculate expiry of 1 timers
2012-04-14 21:21:45.186+0000: 21339: debug :
virEventPollCalculateTimeout:351 : Timeout at 0 due in -1 ms
2012-04-14 21:21:45.186+0000: 21339: debug : virEventPollRunOnce:619 :
EVENT_POLL_RUN: nhandles=1 timeout=-1
uname -a
Linux f37.local 3.3.1-std-def-alt1 #1 SMP Tue Apr 10 13:27:26 UTC 2012
x86_64 GNU/Linux
libvirtd --version
libvirtd (libvirt) 0.9.11
12 years, 7 months