View Single Post
  #12  
Old 6th March 2011, 21:05
rnigam rnigam is offline
Junior Member
 
Join Date: Mar 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Same Error on Ubuntu-Server-10.10

Here is what I used:
virt-install --connect qemu:///system -n ubuntu-vm1 -r 2048 --vcpus=4 -f /root/vmimages/kvm1.qcow2 -s 12 --cpuset=4,5,6,7 -c /root/vmimages/ubuntu-10.10-server-amd64.iso --os-type linux --network bridge=virbr0 --accelerate --virt-type kvm --hvm

Here's what I get:
Starting install...
ERROR operation failed: failed to retrieve chardev info in qemu with 'info chardev'
Domain installation does not appear to have been
successful. If it was, you can restart your domain
by running 'virsh start ubuntu-vm1'; otherwise, please
restart your installation.
ERROR operation failed: failed to retrieve chardev info in qemu with 'info chardev'
Traceback (most recent call last):
File "/usr/bin/virt-install", line 1033, in <module>
main()
File "/usr/bin/virt-install", line 915, in main
start_time, guest.start_install)
File "/usr/bin/virt-install", line 957, in do_install
dom = install_func(conscb, progresscb, wait=(not wait))
File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 973, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 1038, in _do_install
"install")
File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 1009, in _create_guest
dom = self.conn.createLinux(start_xml, 0)
File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1277, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: operation failed: failed to retrieve chardev info in qemu with 'info chardev'

If someone has found a way around it please let me know.

- Rohan
Reply With Quote