runtime-rs: Add Configurable Compilation for Dragonball in Runtime-rs

rename DEFAULT_HYPERVISOR to HYPERVISOR in Makefile
Fixes #10310

Signed-off-by: sidney chang <2190206983@qq.com>
This commit is contained in:
sidney chang
2024-09-20 04:51:30 -07:00
parent b85a886694
commit 456e13db98
2 changed files with 10 additions and 10 deletions

View File

@@ -90,14 +90,14 @@ By default, runtime-rs includes the `Dragonball` VMM. To build without the built
$ cd kata-containers/src/runtime-rs
$ make USE_BUILDIN_DB=false
```
After building, specify the desired hypervisor during installation using `DEFAULT_HYPERVISOR`. For example, to use `qemu` or `cloud-hypervisor`:
After building, specify the desired hypervisor during installation using `HYPERVISOR`. For example, to use `qemu` or `cloud-hypervisor`:
```
sudo make install DEFAULT_HYPERVISOR=qemu
sudo make install HYPERVISOR=qemu
```
or
```
sudo make install DEFAULT_HYPERVISOR=cloud-hypervisor
sudo make install HYPERVISOR=cloud-hypervisor
```
### Build Kata Containers Kernel