-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
This guide builds and starts the AArch64 XAIOS image under QEMU. See Hardware Support for x86_64 and VMware Fusion boundaries.
On macOS:
brew install llvm lld qemu mtools python3 xorrisoOn Debian or Ubuntu:
sudo apt-get update
sudo apt-get install -y clang lld qemu-system-arm qemu-efi-aarch64 mtools python3Homebrew LLVM is required on macOS because the Apple system compiler does not provide the complete freestanding cross-target toolchain used by the build.
From the repository root:
make bootstrap
make imageThe generated AArch64 boot image is build/xaios-aarch64.img. Other generated
EFI, kernel, initramfs, persistent-storage, and test artifacts remain under the
ignored build/ directory.
For x86_64:
make image-x86_64make qemumake qemu is the AArch64 alias. It defaults to TCG, including on Apple
Silicon. Press Ctrl-A X to exit QEMU. Set XAIOS_BOOT_VERBOSE=1 only when a
boot failure requires scrolling diagnostics.
The launcher forwards host TCP port 7788 to guest SSH port 22 by default. A normal image contains no built-in password or private key; provision a key for manual access:
mkdir -p build/local-ssh
ssh-keygen -t ed25519 -N '' -f build/local-ssh/admin
XAIOS_AUTHORIZED_KEYS_FILE=build/local-ssh/admin.pub make image
make qemuFrom another terminal:
ssh -p 7788 -i build/local-ssh/admin admin@127.0.0.1OpenSSH also accepts ssh ssh://admin@127.0.0.1:7788. The form
admin@127.0.0.1:7788 is not valid OpenSSH destination syntax.
The repository helper keeps host-key verification enabled and accepts a remote
command after --:
scripts/ssh-xaios-qemu.sh
scripts/ssh-xaios-qemu.sh -- htoppwd
ls -la /
mkdir -p /home/admin/demo
echo hello > /home/admin/demo/message.txt
cat /home/admin/demo/message.txt
htop
See Commands for the complete shell surface and Applications for executable programs.
make compile-check
make qemu-smokeThe complete reproducible validation inventory, including Docker rebuilds, is documented in Testing XAIOS.
XAIOS is a freestanding Unix-like operating system. QEMU and VMware results are correctness evidence, not physical performance or production certification.