Skip to content

Commit

Permalink
Add AArch64 build section
Browse files Browse the repository at this point in the history
I tested this on my x86-64 laptop, and it built without any problem.
Later I will try the output to see if it runs with cloud-hypervisor to
possibly add a "running" section, but I have to arrange the correct
server first.

Signed-off-by: Daniel Farina <daniel@fdr.io>
  • Loading branch information
fdr committed Mar 29, 2023
1 parent 42a970b commit 00aec2d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,22 @@ $ qemu-system-x86_64 -machine q35,accel=kvm -cpu host,-vmx -m 1G\
-device virtio-blk-pci,drive=os,disable-legacy=on
```

## AArch64 Support

### Building

To compile:

```
cargo build --release --target aarch64-unknown-none.json -Zbuild-std=core,alloc -Zbuild-std-features=compiler-builtins-mem
```

The result will be in:

```
target/aarch64-unknown-none/release/hypervisor-fw
```

## RISC-V Support

Experimental RISC-V support is available. This is currently designed to run as a
Expand Down

0 comments on commit 00aec2d

Please sign in to comment.