Reprinted please indicate the source: http://www.openext.org/2014/06/virt-install-erro1
An error occurred while installing the vm using virt-install. The solution is as follows:
$ Sudo./create-vm-demo.sh
Starting install...
ERROR internal error process exited while connecting to monitor: char device redirected to/dev/pts/2
Kvm:-drive file =/home/muge0913/workstation/kvm/test. img, if = none, id = drive-ide0-0-0, format = raw: cocould not open disk image
/Home/muge0913/workstation/kvm/test. img: Permission denied
Solution: edit/etc/libvirt/qemu. conf to add the following content, so that the root user has the operation permission.
User = "root"
# The group for QEMU processes run by the system instance. It can be
# Specified in a similar way to user.
Group = "root"
# Whether libvirt shocould dynamically change file ownership
# To match the configured user/group above. Defaults to 1.
# Set to 0 to disable file ownership changes.
Dynamic_ownership = 0
# Vrish list View virtual machine running status