Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[Mostly a copy/paste from README in xen-vhost-frontend]

Info

Note: These instructions assume:

  • you are using an x86_64 based build machine and are running Linux (either directly or in a VM).

  • you are building in Debian 12 (bookworm) directly or via a container

  • The current version of rustc at the time this page was written was 1.80.1

Build distro setup

As root:

Code Block
dpkg --add-architecture arm64
apt-get update -qq
apt-get install -yqq build-essential git bison flex wget curl \
    python3 python3-setuptools iasl
apt-get install -yqq gcc-aarch64-linux-gnu uuid-dev:arm64 libzstd-dev \
    libncurses-dev:arm64 libyajl-dev:arm64 zlib1g-dev:arm64 \
    libfdt-dev:arm64 libpython3-dev:arm64

As the build user (can be root or yourself etc):

Code Block
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. ~/.cargo/env
rustup target add aarch64-unknown-linux-gnu

Key components

Xen

...