virt-install:ERROR internal error process exited while connecting to monitor

时间:2014-06-22 06:34:56   收藏:0   阅读:271

转载请注明出处:http://www.openext.org/2014/06/virt-install-erro1

使用virt-install安装vm的时候出现了一下错误,解决方法如下:

$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: could not open disk image

/home/muge0913/workstation/kvm/test.img: Permission denied

 

解决:编辑/etc/libvirt/qemu.conf添加内容如下,这样root就有操作的权限了。

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 should 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查看虚拟机运行情况




virt-install:ERROR internal error process exited while connecting to monitor,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!