[root@kvm ~]# virsh create /root/ns1.jesse64.xml
error: Failed to create domain from /root/ns1.jesse64.xml
error: internal error: process exited while connecting to monitor: qemu-kvm: -machine pc-i440fx-trusty,accel=kvm,usb=off: Unsupported machine type所以我运行/usr/libexec/qemu -machine?并查看
Supported machines are:
none empty machine
pc RHEL 7.0.0 PC (i440FX + PIIX, 1996) (alias of pc-i440fx-rhel7.0.0)
pc-i440fx-rhel7.0.0 RHEL 7.0.0 PC (i440FX + PIIX, 1996) (default)
rhel6.6.0 RHEL 6.6.0 PC
rhel6.5.0 RHEL 6.5.0 PC
rhel6.4.0 RHEL 6.4.0 PC
rhel6.3.0 RHEL 6.3.0 PC
rhel6.2.0 RHEL 6.2.0 PC
rhel6.1.0 RHEL 6.1.0 PC
rhel6.0.0 RHEL 6.0.0 PC我需要安装一些软件包吗?VM是在Ubuntu主机上创建的。
发布于 2015-06-08 02:52:09
您会看到这个错误,因为Ubuntu将自己的自定义应用到了libvirt和qemu/KVM的版本中。当然,RHEL也做了同样的事情。
但总有一种机器类型可以工作,即pc。在定义VM时,这总是与虚拟机管理程序上可用的最新i440fx机器类型相关联。
在XML的某个地方,您会发现如下所示:
<type arch='x86_64' machine='pc-i440fx-trusty'>hvm</type>只需将此更改为:
<type arch='x86_64' machine='pc'>hvm</type>(请注意,如果使用新的pc-q35-xxx机器类型,则泛型计算机类型为q35。)
https://serverfault.com/questions/697269
复制相似问题