Architectures¶
LXD can run on just about any architecture that is supported by the Linux kernel and by Go.
Some entities in LXD are tied to an architecture, for example, the instances, instance snapshots and images.
The following table lists all supported architectures including their unique identifier and the name used to refer to them. The architecture names are typically aligned with the Linux kernel architecture names.
ID |
Kernel name |
Description |
Personalities |
---|---|---|---|
1 |
|
32bit Intel x86 |
|
2 |
|
64bit Intel x86 |
|
3 |
|
32bit ARMv7 little-endian |
|
4 |
|
64bit ARMv8 little-endian |
|
5 |
|
32bit PowerPC big-endian |
|
6 |
|
64bit PowerPC big-endian |
|
7 |
|
64bit PowerPC little-endian |
|
8 |
|
64bit ESA/390 big-endian |
|
9 |
|
32bit MIPS |
|
10 |
|
64bit MIPS |
|
11 |
|
32bit RISC-V little-endian |
|
12 |
|
64bit RISC-V little-endian |
|
13 |
|
32bit ARMv6 little-endian |
|
14 |
|
32bit ARMv8 little-endian |
|
15 |
|
64bit LoongArch |
Note
LXD cares only about the kernel architecture, not the particular userspace flavor as determined by the toolchain.
That means that LXD considers ARMv7 hard-float to be the same as ARMv7 soft-float and refers to both as armv7l
.
If useful to the user, the exact userspace ABI may be set as an image and container property, allowing easy query.
Virtual machine support¶
LXD only supports running virtual machines on the following host architectures:
x86_64
aarch64
ppc64le
s390x
The virtual machine guest architecture can usually be the 32bit personality of the host architecture, so long as the virtual machine firmware is capable of booting it.