File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ as the code documentation.
18
18
19
19
## Supported Platforms
20
20
21
- The kvm-ioctls can be used on x86_64 and aarch64 .
21
+ The kvm-ioctls can be used on x86_64, aarch64 and riscv64 (experimental) .
22
22
23
23
## Running the tests
24
24
@@ -28,14 +28,16 @@ For the complete list of tests, check our
28
28
[ CI pipeline] ( https://buildkite.com/rust-vmm/kvm-ioctls-ci ) .
29
29
30
30
Each individual test runs in a container. To reproduce a test locally, you can
31
- use the dev-container on both x86 and arm64 .
31
+ use the dev-container on x86_64, arm64 and riscv64 .
32
32
33
33
``` bash
34
+ # For running riscv64 tests, replace v47 with v47-riscv. This provides an
35
+ # emulated riscv64 environment on a x86_64 host.
34
36
docker run --device=/dev/kvm \
35
37
-it \
36
38
--security-opt seccomp=unconfined \
37
39
--volume $( pwd) /kvm-ioctls:/kvm-ioctls \
38
- rustvmm/dev:v16
40
+ rustvmm/dev:v47
39
41
cd kvm-ioctls/
40
42
cargo test
41
43
```
You can’t perform that action at this time.
0 commit comments