mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 03:15:20 +00:00
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 <michael.zhao@arm.com>
This commit is contained in:
parent
d330d91e1a
commit
54c552f90d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user