Skip to content

Commit

Permalink
Add x32 to the list of recognized architectures
Browse files Browse the repository at this point in the history
LXC supports x32 containers, but currently creation of those containers is broken:

lxc-create: x32-test: ../src/lxc/confile.c: set_config_personality: 1432 Invalid argument - Unsupported personality "x32"
lxc-create: x32-test: ../src/lxc/parse.c: lxc_file_for_each_line_mmap: 129 Failed to parse config file "/var/lib/lxc/x32-test/config" at line "lxc.arch = x32"
lxc-create: x32-test: ../src/lxc/tools/lxc_create.c: main: 317 Failed to create container x32-test

Signed-off-by: Mathias Gibbens <[email protected]>
  • Loading branch information
gibmat committed Jan 30, 2024
1 parent cb5bd70 commit 44e845b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lxc/confile.c
Original file line number Diff line number Diff line change
Expand Up @@ -3268,6 +3268,7 @@ int lxc_config_parse_arch(const char *arch, signed long *persona)
{ "mipsel", PER_LINUX32 },
{ "ppc", PER_LINUX32 },
{ "powerpc", PER_LINUX32 },
{ "x32", PER_LINUX32 },
{ "x86", PER_LINUX32 },
{ "aarch64", PER_LINUX },
{ "amd64", PER_LINUX },
Expand Down

0 comments on commit 44e845b

Please sign in to comment.