mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-07-07 10:15:45 +00:00
README: Update for new --disk usage
And fix the use of "also" that remained when the two sections on usage were flipped around. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
a09f918adc
commit
9900daacf8
13
README.md
13
README.md
@ -91,8 +91,11 @@ You can run a guest VM by either using an existing cloud image or booting into y
|
|||||||
|
|
||||||
### Cloud image
|
### Cloud image
|
||||||
|
|
||||||
`cloud-hypervisor` also supports booting disk images containing all needed components to run cloud workloads, a.k.a. cloud images.
|
`cloud-hypervisor` supports booting disk images containing all needed
|
||||||
To do that we rely on the [Rust Hypervisor Firmware](https://github.com/intel/rust-hypervisor-firmware) project to provide an ELF
|
components to run cloud workloads, a.k.a. cloud images. To do that we rely on
|
||||||
|
the [Rust Hypervisor
|
||||||
|
Firmware](https://github.com/intel/rust-hypervisor-firmware) project to provide
|
||||||
|
an ELF
|
||||||
formatted KVM firmware for `cloud-hypervisor` to directly boot into.
|
formatted KVM firmware for `cloud-hypervisor` to directly boot into.
|
||||||
|
|
||||||
We need to get the latest `rust-hypervisor-firmware` release and also a working cloud image. Here we will use a Clear Linux image:
|
We need to get the latest `rust-hypervisor-firmware` release and also a working cloud image. Here we will use a Clear Linux image:
|
||||||
@ -118,12 +121,14 @@ $ ./cloud-hypervisor/target/release/cloud-hypervisor \
|
|||||||
$ popd
|
$ popd
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Multiple arguments can be given to the `--disk` parameter, currently the firmware requires that the bootable image is on the first disk.
|
||||||
|
|
||||||
### Custom kernel and disk image
|
### Custom kernel and disk image
|
||||||
|
|
||||||
#### Building your kernel
|
#### Building your kernel
|
||||||
|
|
||||||
`cloud-hypervisor` supports direct kernel boot into a `vmlinux` ELF kernel image.
|
`cloud-hypervisor` also supports direct kernel boot into a `vmlinux` ELF kernel
|
||||||
You want to build such image first:
|
image. You want to build such an image first:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user