On Sun, Sep 15, 2013 at 1:50 PM, Gianluca Cecchi wrote:
and
[root@tekkaman ~]# chgrp kvm /var/lib/libvirt/images/testvm.img
[root@tekkaman ~]# ll /var/lib/libvirt/images/testvm.img
-rw-rw----. 1 vdsm kvm 197120 Sep 15 12:24 /var/lib/libvirt/images/testvm.img
[root@tekkaman ~]# virsh undefine testvm2
Please enter your authentication name: virshuser
Please enter your password:
Domain testvm2 has been undefined
[root@tekkaman ~]# virsh define /tmp/testvm2.xml
Please enter your authentication name: virshuser
Please enter your password:
Domain testvm2 defined from /tmp/testvm2.xml
[root@tekkaman ~]# virsh start testvm2
Please enter your authentication name: virshuser
Please enter your password:
error: Failed to start domain testvm2
error: internal error Process exited while reading console log output:
char device redirected to /dev/pts/2
qemu-kvm: -drive
file=/var/lib/libvirt/images//testvm.img,if=none,id=drive-virtio-disk0,format=qcow2:
could not open disk image /var/lib/libvirt/images//testvm.img:
Permission denied