今天自己编译了spice-protocol spice-gtk spice qemu,然后想用virsh去创建一个虚机:
# virsh define demo.xml
定义域 demo(从 demo.xml)
# virsh start demo
cannot access storage file (as uid:107, gid:107) permission denied
解决方法:
Changing /etc/libvirt/qemu.conf
make working things.
Uncomment user/group to work as root
.
-
# The user for QEMU processes run by the system instance. It can be
-
# specified as a user name or as a user id. The qemu driver will try to
-
# parse this value first as a name and then, if the name doesn't exist,
-