[Pkg-libvirt-maintainers] Bug#626415: [virt-manager] virt-manager not creating a kvm virtual machine

Set-Me-Free set-me-free at riseup.net
Wed May 11 19:22:49 UTC 2011


Package: virt-manager
Version: 0.8.7-1
Severity: important
Tags: patch

--- Please enter the report below this line. ---
I can not create image virtual machine on kernel 2.6.38-2. With kernel 
2.6.32  i have no problem.
At the end of creation virtual machine, on the fifth step , when i click 
'finish' appears window with text :

"Unable to complete the installation:'internal error Process exited 
while reading console log output: char device redirected to /dev/pts/2
kvm_create_vm: Device or resource busy
failed to initialize KVM: Operation not permitted
'
Traceback (most recent call last):
   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in 
cb_wrapper
     callback(asyncjob, *args, **kwargs)
   File "/usr/share/virt-manager/virtManager/create.py", line 1643, in 
do_install
     guest.start_install(False, meter=meter)
   File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 1186, in 
start_install
     start_xml, final_xml, is_initial)
   File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 1245, in 
_create_guest
     dom = self.conn.createLinux(start_xml or final_xml, 0)
   File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1446, in 
createLinux
     if ret is None:raise libvirtError('virDomainCreateLinux() failed', 
conn=self)
libvirtError: internal error Process exited while reading console log 
output: char device redirected to /dev/pts/2
kvm_create_vm: Device or resource busy
failed to initialize KVM: Operation not permitted"


My output command:
     lsmod | grep kvm
kvm_amd 50543 0
kvm 263288 1 kvm_amd

My output command:
     lscpu
Architecture: x86_64
CPU op-mode(s): 64-bit
CPU(s): 4
Thread(s) per core: 1
Core(s) per socket: 4
CPU socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 16
Model: 4
Stepping: 2
CPU MHz: 800.000
Virtualization: AMD-V
L1d cache: 64K
L1i cache: 64K
L2 cache: 512K
L3 cache: 6144K

And output after attempt creating image :
dmesg | grep kvm
[ 13.370832] kvm: Nested Virtualization enabled
[ 13.370835] kvm: Nested Paging enabled
[ 360.725582] kvm: enabling virtualization on CPU0 failed
[ 360.850533] kvm: enabling virtualization on CPU0 failed
[ 360.886177] kvm: enabling virtualization on CPU0 failed

Sorry for my bad english

--- System information. ---
Architecture: amd64
Kernel: Linux 2.6.38-2-amd64

Debian Release: wheezy/sid
500 testing www.debian-multimedia.org
500 testing ftp.de.debian.org
500 stable security.debian.org
500 stable ftp.de.debian.org

--- Package information. ---
Depends (Version) | Installed
===================================-+-==============
gconf2 (>= 2.28.1-2) | 2.32.1-2
python | 2.6.6-14
python-support (>= 0.90.0) | 1.0.13
python-gtk2 | 2.17.0-4+b1
python-glade2 | 2.17.0-4+b1
python-gnome2 | 2.28.1-2
python-dbus | 0.83.1-1+b1
python-urlgrabber | 3.9.1-4
python-vte | 1:0.24.3-2
librsvg2-common | 2.32.1-1
python-libvirt (>= 0.7.1) | 0.9.0-1
virtinst (>= 0.500.6) | 0.500.6-1
python-gtk-vnc (>= 0.3.8) | 0.4.3-1
python-ipy (>= 0.70) | 1:0.72-1


Recommends (Version) | Installed
===============================-+-===========
libvirt-bin (>= 0.4.6) | 0.9.0-1
gnome-icon-theme | 2.30.3-2


Suggests (Version) | Installed
==================================-+-===========
virt-viewer | 0.3.1-2
ssh-askpass | 1:1.2.4.1-9
gnome-keyring | 3.0.0-3
python-gnomekeyring | 2.30.2-1
hal | 0.5.14-6









More information about the Pkg-libvirt-maintainers mailing list