Package: libvirt-bin
Version: 0.9.8-2
Severity: important
This bug looks like: https://bugzilla.redhat.com/show_bug.cgi?id=639581
I have also tried libvirt 0.8.3-5+squeeze2 and 0.8.8-3. All versions are
affected.
# lsof | grep libvirt | wc -l
1183
root@n3c1:/home/maciek# virsh list
2012-02-02 21:58:39.081+: 25199: info : libvirt version: 0.9.8
2012-02-02 21:58:39.081+: 25199: warning :
xenHypervisorMakeCapabilities:2748 : Failed to get host power management
capabilities
Id Name State
--
0 Domain-0 running
root@n3c1:/home/maciek# lsof | grep libvirt | wc -l
1186
root@n3c1:/home/maciek# virsh list
2012-02-02 21:58:44.237+: 25213: info : libvirt version: 0.9.8
2012-02-02 21:58:44.237+: 25213: warning :
xenHypervisorMakeCapabilities:2748 : Failed to get host power management
capabilities
Id Name State
--
0 Domain-0 running
root@n3c1:/home/maciek# lsof | grep libvirt | wc -l
1189
# python
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> def openclose():
... c = libvirt.open('xen:///')
... c.close()
...
>>> import os
>>> import libvirt
>>> openclose()
2012-01-29 23:08:32.146+: 6293: warning :
xenHypervisorMakeCapabilities:2748 : Failed to get host power management
capabilities
>>> os.system('lsof -p %d | wc -l' % os.getpid())
52
0
>>> os.system('lsof -p %d | wc -l' % os.getpid())
52
0
>>> openclose()
2012-01-29 23:08:39.939+: 6293: warning :
xenHypervisorMakeCapabilities:2748 : Failed to get host power management
capabilities
>>> os.system('lsof -p %d | wc -l' % os.getpid())
55
0
>>> openclose()
2012-01-29 23:08:47.507+: 6293: warning :
xenHypervisorMakeCapabilities:2748 : Failed to get host power management
capabilities
>>> os.system('lsof -p %d | wc -l' % os.getpid())
58
0
Lsof reports a lot of entries like:
libvirtd 3031 root 18u unix 0x880176f443000t0
6765380 socket
libvirtd 3031 root 19r FIFO0,80t0
6765382 pipe
libvirtd 3031 root 20w FIFO0,80t0
6765382 pipe
libvirtd 3031 root 21u unix 0x88016275d2000t0
6769446 socket
libvirtd 3031 root 22r FIFO0,80t0
6769448 pipe
libvirtd 3031 root 23w FIFO0,80t0
6769448 pipe
libvirtd 3031 root 24u unix 0x880176f46a000t0
6773222 socket
libvirtd 3031 root 25r FIFO0,80t0
6773224 pipe
libvirtd 3031 root 26w FIFO0,80t0
6773224 pipe
libvirtd 3031 root 27u unix 0x880176f712000t0
6775961 socket
libvirtd 3031 root 28r FIFO0,80t0
6775963 pipe
libvirtd 3031 root 29w FIFO0,80t0
6775963 pipe
libvirtd 3031 root 30u unix 0x88016275de000t0
6778688 socket
libvirtd 3031 root 31r FIFO0,80t0
6778690 pipe
libvirtd 3031 root 32w FIFO0,80t0
6778690 pipe
-- System Information:
Debian Release: 6.0.4
APT prefers stable-updates
APT policy: (900, 'stable-updates'), (900, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libvirt-bin depends on:
ii adduser3.112+nmu2add and remove users and groups
ii gettext-base 0.18.1.1-3GNU Internationalization utilities
ii libavahi-client3 0.6.27-2+squeeze1 Avahi client library
ii libavahi-common3 0.6.27-2+squeeze1 Avahi common library
ii libblkid1 2.17.2-9 block device id library
ii libc6 2.11.3-2 Embedded GNU C Library: Shared lib
ii libcap-ng0 0.6.4-1 An alternate posix capabilities li
ii libdevmapper1.02.1 2:1.02.48-5 The Linux Kernel Device Mapper use
ii libgcrypt111.4.5-2 LGPL Crypto library - runtime libr
ii libgnutls262.12.16-1 GNU TLS library - runtime library
ii libnl1 1.1-6 library for dealing with netlink s
ii libnuma1 2.0.8~rc2-1 Libraries for controlling NUMA pol
ii libparted0debian1 2.3-5 The GNU Parted disk partitioning s
ii libpcap0.8 1.1.1-2+squeeze1 system interface for user-level pa
ii libpciaccess0 0.12.0-1 Generic PCI access library for X
ii libreadline6 6.1-3 GNU readline and history libraries
ii libsasl2-2 2