Skip to content

Commit 4943a5e

Browse files
committed
README.md: Add virtio-gpu related information
1 parent c2b1d76 commit 4943a5e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ A minimalist RISC-V system emulator capable of running Linux the kernel and corr
99
- UART: 8250/16550
1010
- PLIC (platform-level interrupt controller): 32 interrupts, no priority
1111
- Standard SBI, with the timer extension
12-
- VirtIO: virtio-blk acquires disk image from the host, and virtio-net is mapped as TAP interface
12+
- VirtIO:
13+
- virtio-net: Mapped with TAP interface to the host
14+
- virtio-blk: Acquires disk image from the host to the guest
15+
- virtio-gpu: Currently supports 2D rendering mode with SDL as front-end
1316

1417
## Prerequisites
1518

@@ -24,6 +27,13 @@ For macOS, use the following command:
2427
$ brew install dtc
2528
```
2629

30+
[SDL2](https://www.libsdl.org/) is required for enabling virtio-gpu.
31+
To install it on Debian/Ubuntu Linux, enter the following command:
32+
33+
```shell
34+
$ sudo apt install libsdl2-dev libsdl2-2.0-0 libsdl2-image-dev libsdl2-image-2.0-0
35+
```
36+
2737
For demonstration purposes, ext4 is used for file system mounting.
2838
`ext4` is a native Linux filesystem, offering stability, high capacity, reliability,
2939
and performance while requiring minimal maintenance. The `mkfs.ext4` command can

0 commit comments

Comments
 (0)