From 54c552f90d65d0d559f82705a6d7ef5b2634b2f1 Mon Sep 17 00:00:00 2001 From: Michael Zhao Date: Thu, 24 Jun 2021 12:21:13 +0800 Subject: [PATCH] docs: Update arm64 doc Simplified the build instruction on arm64. And the binary built with default option can be used for both UEFI and direct-kernel test. Signed-off-by: Michael Zhao --- docs/arm64.md | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/docs/arm64.md b/docs/arm64.md index a1c771e8d..6243908e2 100644 --- a/docs/arm64.md +++ b/docs/arm64.md @@ -29,6 +29,16 @@ $ sudo apt-get update $ sudo apt-get install git build-essential m4 bison flex uuid-dev qemu-utils ``` +### Building Cloud Hypervisor + +```bash +$ pushd $CLOUDH +$ git clone https://github.com/cloud-hypervisor/cloud-hypervisor.git +$ cd cloud-hypervisor +$ cargo build +$ popd +``` + ### Disk image Download the Ubuntu cloud image and convert the image type. @@ -44,16 +54,6 @@ $ popd This part introduces how to build EDK2 firmware and boot Cloud Hypervisor with it. -### Building Cloud Hypervisor - -```bash -$ pushd $CLOUDH -$ git clone https://github.com/cloud-hypervisor/cloud-hypervisor.git -$ cd cloud-hypervisor -$ cargo build --no-default-features --features kvm,acpi -$ popd -``` - ### Building EDK2 ```bash @@ -96,16 +96,6 @@ $ popd Alternativelly, you can build your own kernel for guest VM. This way, UEFI is not involved and ACPI cannot be enabled. -### Building Cloud Hypervisor - -```bash -$ pushd $CLOUDH -$ git clone https://github.com/cloud-hypervisor/cloud-hypervisor.git -$ cd cloud-hypervisor -$ cargo build --no-default-features --features kvm -$ popd -``` - ### Building kernel ```bash