diff mbox series

[XEN] automation: Information about running containers for a different arch

Message ID 20220926135838.47330-1-anthony.perard@citrix.com (mailing list archive)
State Superseded
Headers show
Series [XEN] automation: Information about running containers for a different arch | expand

Commit Message

Anthony PERARD Sept. 26, 2022, 1:58 p.m. UTC
Adding pointer to 'qemu-user-static'.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
 automation/build/README.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Michal Orzel Sept. 26, 2022, 2:11 p.m. UTC | #1
Hi Anthony,

On 26/09/2022 15:58, Anthony PERARD wrote:
> 
> 
> Adding pointer to 'qemu-user-static'.
> 
> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
> ---
>  automation/build/README.md | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/automation/build/README.md b/automation/build/README.md
> index 00305eed03..5d4734bc77 100644
> --- a/automation/build/README.md
> +++ b/automation/build/README.md
> @@ -102,3 +102,14 @@ make -C automation/build suse/opensuse-tumbleweed PUSH=1
> 
>  [registry]: https://gitlab.com/xen-project/xen/container_registry
>  [registry help]: https://gitlab.com/help/user/project/container_registry
> +
> +
> +Running container for a different architecture

We need qemu-user-static also when building a container for a different architecture.
So this should be "Building/Running a container for a different architecture".

> +----------------------------------------------
> +
> +To run for example an Arm container on an x86 machine, simply install the
> +package `qemu-user-static`, and that it. Then you can start an Arm container on
s/that/that's/

> +x86 host like you would start an x86 container.
> +
> +If that doesn't work, you might find some information on
> +[multiarch/qemu-user-static](https://github.com/multiarch/qemu-user-static).

This is also missing quite important information that QEMU emulation using
qemu-user-static only works for x86_64 host machines. This means that you cannot
build/run e.g. x86 containers on an Arm host.

> --
> Anthony PERARD
> 

~Michal
diff mbox series

Patch

diff --git a/automation/build/README.md b/automation/build/README.md
index 00305eed03..5d4734bc77 100644
--- a/automation/build/README.md
+++ b/automation/build/README.md
@@ -102,3 +102,14 @@  make -C automation/build suse/opensuse-tumbleweed PUSH=1
 
 [registry]: https://gitlab.com/xen-project/xen/container_registry
 [registry help]: https://gitlab.com/help/user/project/container_registry
+
+
+Running container for a different architecture
+----------------------------------------------
+
+To run for example an Arm container on an x86 machine, simply install the
+package `qemu-user-static`, and that it. Then you can start an Arm container on
+x86 host like you would start an x86 container.
+
+If that doesn't work, you might find some information on
+[multiarch/qemu-user-static](https://github.com/multiarch/qemu-user-static).