I initially had the problem posted here: https://bbs.archlinux.org/viewtopic.php?id=159159
and resolved it as indicated there.
However, a problem I had before (https://bbs.archlinux.org/viewtopic.php?id=157203) has returned.
user/group are set to root/kvm or my_username/kvm in qemu.conf, both have the following result:
virsh # list --all Id Name State ---------------------------------------------------- - win7imo shut off virsh # start win7imo error: Failed to start domain win7imo error: internal error process exited while connecting to monitor: chardev: opening backend "pty" failed
I am in group kvm.
Help appriciated, thanks in advance.
Last edited by vri (2013-03-08 13:35:45)
Check if your user is in the kvm group, if not, re-add your user to the km group.
I double checked, and yes, the user is in group kvm
Ok, found my problem. I don't have a /dev/pty on my host (anymore??). So after removal of the serial device from the guest machine, I could start it again.
I am getting this same issue trying to create a new VM
virt-install \ > --connect qemu:///system \ > --name Fedora \ > --ram 1024 \ > --disk path=/var/lib/libvirt/images/Fedora18.img,bus=virtio,size=20,format=qcow2 \ > --network=user,model=virtio \ > --vcpus=1 \ > --cpu host \ > --os-type=linux \ > --os-variant=fedora18 \ > --graphics spice,port=5930 \ > --location http://mirrors.kernel.org/fedora/releases/18/Fedora/x86_64/os/ Starting install... Retrieving file .treeinfo... | 2.2 kB 00:00 ... Retrieving file vmlinuz... | 9.3 MB 00:05 ... Retrieving file initrd.img... | 53 MB 00:41 ... Allocating 'virtinst-vmlinuz.0Q8_NH' | 4.6 MB 00:00 Transferring virtinst-vmlinuz.0Q8_NH | 4.6 MB 00:01 Allocating 'virtinst-initrd.img.XPcx90' | 27 MB 00:00 Transferring virtinst-initrd.img.XPcx90 | 27 MB 00:05 ERROR internal error process exited while connecting to monitor: chardev: opening backend "pty" failed Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start Fedora otherwise, please restart your installation.
My user is also in the kvm group and I don't have a /dev/pty device on the host. I am not defining a serial device for the guest and have no clue how/where the device is coming from.