[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Anthony PERARD <anthony.perard@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Mon, 26 Sep 2022 16:11:50 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=citrix.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aCa7RgRCiHaQKLpAtV0Bhm/P6jTdXlqnwn1Nce48kS8=; b=XJO/Mh5USe17wziN2c3ENSG8nIWhPYCfW5MM2MBxr0tzO54E5eMILfvnqXG4poWY0xcP0dnk8ZQNMiMnF+n1xae0fiZ6+MI6BYgtFK9Isigil5eyvKh+KcU/62hgoLGWiUr5mUdfiO99hRPCwiav/pCBSlPMsF84AZagPw6hDUJWEVO/LHfIUnKL9qDViKzwfSBdnVpPO2zk1Vk0SUc0BItT25sT1K/UiREBnNx66AYMRRAb6WR/FiYsRKFor/230t0iUJ35+A8VuDaJ23/jw8nYhjVSkvUev1insQ++Nbgo2q20WmFh0I1+Z9XegARBCQbZLYIZfZ58EZPKMM75Tg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WZfv5WvdUoEXBpw8fgb0AC5X0zcqnSIqupHIqvDp2qYPUkAqbQYTHmV+EObQ44EqmL5lj4qJVweo8vOdkJ7T6FYMRjXp2vRAJCPdQgWtqkp1DE5EVDaob9Aumz6uQzCltD6i8TAhVkWqyyN5SkrwOrCHBcnL074A14vuQT3CL0iZlNPOj98Sz2nsmynPB/MoRJkwS8srulIfYL6p4FATj0+UecZ6h6yw6r+qSFdMdRWO6CNJSIY+31vsJb4HB15kw/qDXNNElcQltLaym8z1EbUlCJ/R0KTJuYbo4BHehJuPNOm2j1FFq7idx1vp2xeaWz3xtt7XTK4y/j+PUKI/uA==
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>
  • Delivery-date: Mon, 26 Sep 2022 14:12:07 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Anthony,

On 26/09/2022 15:58, Anthony PERARD wrote:
> 
> 
> Adding pointer to 'qemu-user-static'.
> 
> Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
> ---
>  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



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.