添加 armhf 作为来宾 KVM VM 的支持架构(在 amd64 主机上)

mbe*_*llo 5 kvm qemu arm raspberrypi virt-manager

我有一个 Ubuntu Server 12.04 设置,运行着大约 6 个 KVM VM。客人都是x86或amd64,主机是2-socket Westmere Xeon box。

现在我想创建一个新的来宾 VM,但这次来宾 VM 应该运行 armhf 映像(Raspberry Pi 映像)。

我所期望的会起作用:打开 Virt-Manager,通过通常的设置步骤来创建一个新的 VM,然后选择 QEMU 和 armhf 作为来宾的架构。

为什么它不起作用:我只能看到 x86 和 amd64 作为来宾架构的选项。

Is there anyway I can install QEMU support for armhf so that I can easily create armhf KVM guests on my server using virt-manager?

I want to make as little changes as possible on the host. I do not want to use XEN or VirtualBox, it has to be KVM.
Run Code Online (Sandbox Code Playgroud)

谢谢!

mbe*_*llo 1

我找到了一个潜在的解决方案。

安装 qemu-system-arm 并在 virt-manager 上,为 Virt Type 选择“qemu”(而不是我的设置中的默认选择“kvm”),然后在“Architecture”下您将找到选项“armv7l”。

我还没有测试过,但至少现在有这个选项,应该可以正常工作。

有更好的方法来实现这一点吗?