原创

[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-小码农,转载请保留本条链接,感谢!

温馨提示:
本文最后更新于 2022年05月11日,已超过 955 天没有更新。若文章内的图片失效(无法正常加载),请留言反馈或直接联系我
正文到此结束
本文目录