KVM - The Linux Kernel-Based Virtual Machine
News, Blogs and Resources on the Linux (KVM) Kernel-Based Virtual Machine

Guest cannot start.

1 reply [Last post]
maina
Offline
Joined: Mar 23 2011
Points: 3

I have a KVM guest that has failed.

It was working before, i shut it down to take a latest snapshot, but when i run it, it fails with below errors:

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 588, in run_domain
vm.startup()
File "/usr/share/virt-manager/virtManager/domain.py", line 150, in startup
self._backend.create()
File "/usr/lib/python2.6/dist-packages/libvirt.py", line 300, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: operation failed: failed to retrieve chardev info in qemu with 'info chardev'

I have other guests on the same VM Host and all are working.

System Info:
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid

$qemu-kvm 0.12.3+noroms-0ubuntu9.4
$kvm 1:84+dfsg-0ubuntu16+0.12

$uname -a
Linux MyVMHost 2.6.32-29-server #58-Ubuntu SMP x86_64 GNU/Linux

$free -m
total used free shared buffers cached
Mem: 8000 7294 706 0 47 2808
-/+ buffers/cache: 4437 3563
Swap: 11603 8 11595

$df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vmhost2-root
447G 318G 121G 73% /
none 4.0G 252K 4.0G 1% /dev
none 4.0G 0 4.0G 0% /dev/shm
none 4.0G 160K 4.0G 1% /var/run
none 4.0G 0 4.0G 0% /var/lock
none 4.0G 0 4.0G 0% /lib/init/rw
/dev/sda1 228M 51M 166M 24% /boot

Any one with a solution/work-around i will greatly appreciate.

Anonymous (not verified)
Same here. I allocated this

Same here. I allocated this problem while doing PCI pass-trough.

ERROR:
Error starting domain: operation failed: failed to retrieve chardev info in qemu with 'info chardev'

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 44, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/domain.py", line 1050, in startup
self._backend.create()
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 365, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: operation failed: failed to retrieve chardev info in qemu with 'info chardev'

System UBUNTU 11.10 server AMD FX-8120 16gb ram and ASUS M5A99X Evo
~$ dmesg | grep AMD-Vi
[ 1.736736] AMD-Vi: Enabling IOMMU at 0000:00:00.2 cap 0x40
[ 1.801850] AMD-Vi: Lazy IO/TLB flushing enabled

Post new comment

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.