虚拟机报错错误:不支持的配置:IDE controllers are unsupported for this QEMU binary or machine type

Posted "sudo

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了虚拟机报错错误:不支持的配置:IDE controllers are unsupported for this QEMU binary or machine type相关的知识,希望对你有一定的参考价值。

  1. 在xml文件中补充了关于 cdrom 的配置
<disk type="file" device="cdrom">
	<driver name="qemu" type="raw"/>
	<source file="/root/Kylin-Server-10-SP1-x86-Release-Build20-20210518.iso"/>
	<backingStore/>
	<target dev="hdb" bus="ide"/>
	<readonly/>
	<alias name="ide0-0-1"/>
	<address type="drive" controller="0" bus="0" target="0" unit="1"/>
</disk>
  1. 创建虚拟机
[root@host1 xml]# virsh create CYQ-02.xml 
错误:从 CYQ-02.xml 创建域失败
错误:不支持的配置:IDE controllers are unsupported for this QEMU binary or machine type
  1. 解决
<disk type="file" device="cdrom">
	<driver name="qemu" type="raw"/>
	<source file="/virt-data/Kylin-Server-V10-Host-aarch64-Release-Build05-20220818.iso"/>
	<backingStore/>
	<target dev="hdb" bus="sata"/>  #修改bus
	<readonly/>
	<address type="drive" controller="0" bus="0" target="0" unit="1"/>
</disk>

以上是关于虚拟机报错错误:不支持的配置:IDE controllers are unsupported for this QEMU binary or machine type的主要内容,如果未能解决你的问题,请参考以下文章