[qemu]启动虚拟机报错内部错误process exited while connecting to monitor
前言
很久没有启动这个虚拟机了要做下windows系统下的测试,就开了,结果就这个报错.
报错内容
启动域时出错: 内部错误:process exited while connecting to monitor: 2022-05-11T12:51:24.380242Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/home/ya/SSD/E/soft/cn_windows_10_business_editions_version_1909_x64_dvd_0ca83907.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/home/ya/SSD/E/soft/cn_windows_10_business_editions_version_1909_x64_dvd_0ca83907.iso': Permission denied
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
callback(asyncjob, args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 108, in tmpcb
callback(args, kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
ret = fn(self, *args, kwargs)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1384, in startup
self._backend.create()
File "/usr/lib/python3.10/site-packages/libvirt.py", line 1353, in create
raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: 内部错误:process exited while connecting to monitor: 2022-05-11T12:51:24.380242Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/home/ya/SSD/E/soft/cn_windows_10_business_editions_version_1909_x64_dvd_0ca83907.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/home/ya/SSD/E/soft/cn_windows_10_business_editions_version_1909_x64_dvd_0ca83907.iso': Permission denied
根据错误提示,很明显能看出来是权限问题,那么就改权限咯.
解决
查看对应文件的所有者,居然变成了libvirt-qemu
,使用命令chown ya:ya cn_windows_10_business_editions_version_1909_x64_dvd_0ca83907.iso
,改成ya
用户
结果失败了
后来删除了这个CDROM
,就可以启动了...
本文来自:[qemu]启动虚拟机报错内部错误process exited while connecting to monitor-小码农,转载请保留本条链接,感谢!
- 本文标签: kvm qemu linux
- 本文链接: https://djc8.cn/archives/qemu-start-virtual-machine-error-internal-error-process-exited-while-connecting-to-monitor.html
- 版权声明: 本文由小码农原创发布,转载请遵循《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》许可协议授权