[lxc-users] lxd VMs - running ARM VM on amd64 host?

Stéphane Graber stgraber at stgraber.org
Sat Mar 14 20:04:48 UTC 2020


That's not planned at this time. It would also give us a few headaches when
thinking about placement on a multiple architecture cluster.

Stéphane

On Fri., Mar. 13, 2020, 12:18 p.m. Tomasz Chmielewski, <mangoo at wpkg.org>
wrote:

> There is this image:
>
> | e/arm64 (2 more)   | ea0b0d18e384 | yes    | ubuntu 19.10 arm64
> (release) (20200307)         | aarch64      | VIRTUAL-MACHINE | 481.19MB
> | Mar 7, 2020 at 12:00am (UTC)  |
>
>
> Let's try to run it on a amd64 host:
>
> $ lxc launch --vm ubuntu:ea0b0d18e384 arm
> Creating arm
> Error: Failed instance creation: Create instance: Requested architecture
> isn't supported by this host
>
>
> Obviously this won't work - the snap doesn't even have a binary for it:
>
> $ ls /snap/lxd/13704/bin/qemu-system-*
> /snap/lxd/13704/bin/qemu-system-x86_64
>
>
> Is it planned to support foreign architecture VMs at some point (i.e.
> ARM VM on amd64 host)?
>
> I understand it would be quite slow, but in general, it works if you
> fiddle with qemu-system-arm.
>
>
> Tomasz Chmielewski
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20200314/770c45fe/attachment.htm>


More information about the lxc-users mailing list