Skip to content

Commit ab283fd

Browse files
committed
README: add requiried optional features for chroot_vm
1 parent 9eea625 commit ab283fd

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,20 @@ This is a simple example providing ```chroot```-like functionality using ```libk
214214

215215
#### Building chroot_vm
216216

217+
To be able to ```chroot_vm```, you need need to build libkrun with the `virtio-block` and `virtio-net` optional features:
218+
219+
```
220+
make BLK=1 NET=1
221+
```
222+
223+
then
224+
225+
```
226+
sudo make BLK=1 NET=1 install
227+
```
228+
229+
you can then build `chroot_vm`:
230+
217231
```
218232
cd examples
219233
make

0 commit comments

Comments
 (0)