5

I have an Ubuntu Server 12.04 setup with about 6 KVM VMs running. Guests are all x86 or amd64, host is a 2-socket Westmere Xeon box.

Now I want to create a new guest VM but this time the guest VM should run an armhf image (a Raspberry Pi image).

What I was expecting would work: open Virt-Manager, go through the usual setup steps to create a new VM and then choose QEMU and armhf as the architecture of the guest.

Why it did not work: I can only see x86 and amd64 as options for the architecture of the guest.

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.

Thanks!

13
  • The question is not mine, I just want to know the answer too. But after reading more about KVM I understood that it's most probably just impossible, now I'm just waiting while someone with the subject knowledge explains it.
    – int_ua
    Apr 24, 2014 at 16:36
  • I'm waiting for someone with good knowledge of the subject to point.
    – int_ua
    Apr 25, 2014 at 10:44
  • @int_ua: I thought you read something about KVM which made you believe this is not possible, right? Can you share the link to that if it is online?
    – jobin
    Apr 25, 2014 at 15:55
  • I am 100% sure it is possible. What we do not know is whether the necessary pieces have been implemented in QEMU+KVM.
    – mbello
    Apr 25, 2014 at 19:45
  • 1
    @int_ua: I can't find armhf on the wiki and please use @username while replying for notifying the user you are replying to.
    – jobin
    Apr 29, 2014 at 19:07

2 Answers 2

1

I found a potential solution.

Install qemu-system-arm and on virt-manager, choose "qemu" for Virt Type (instead of "kvm" which on my setup is the default selection) and then under "Architecture" you will find the option "armv7l".

I have not tested it yet, but at least the option is now there, should work fine.

Is there a better way to accomplish this?

-2

http://community.arm.com/groups/processors/blog/2014/03/28/virtualization-on-arm-with-xen http://community.arm.com/groups/processors/blog/2013/12/20/virtualization-on-the-chromebook-using-kvm-tool

If you want to virtualize on ARM, you can do the above. Otherwise, qemu for virt type?

2
  • 1
    Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. May 15, 2014 at 11:47
  • @futaris I do not want to virtualize ON ARM, I want to have an ARM VM on a x86-64 host.
    – mbello
    Aug 4, 2016 at 2:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .