blob: 1657267c3cf8334a8beadd25910ed81bdbfc2714 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
menuconfig RT_USING_VIRTIO
bool "Using VirtIO device drivers"
default n
help
Enable VirtIO front-end drivers for virtualized environments (QEMU,
cloud). Requires a hypervisor exposing VirtIO MMIO or PCI devices.
if RT_USING_VIRTIO
choice RT_USING_VIRTIO_VERSION
prompt "VirtIO Version"
default RT_USING_VIRTIO10
config RT_USING_VIRTIO10
bool "VirtIO v1.0"
help
Use the modern VirtIO 1.0 device layout with feature bits in
the standard registers.
endchoice
config RT_USING_VIRTIO_MMIO_ALIGN
bool "Using VirtIO MMIO alignment"
default y
help
Enforce strict MMIO alignment handling required by some hosts.
config RT_USING_VIRTIO_BLK
bool "Using VirtIO BLK"
default y
help
Build the VirtIO block driver to expose virtual disks as RT-Thread
block devices.
config RT_USING_VIRTIO_NET
bool "Using VirtIO NET"
default y
help
Build the VirtIO network driver to connect to the hypervisor's
virtual NIC.
menuconfig RT_USING_VIRTIO_CONSOLE
bool "Using VirtIO Console"
default y
help
Enable the VirtIO console port driver for serial I/O via hypervisor.
if RT_USING_VIRTIO_CONSOLE
config RT_USING_VIRTIO_CONSOLE_PORT_MAX_NR
int "Max number of port in VirtIO Console"
default 4
help
Maximum number of sub-ports exposed by the VirtIO console.
endif
config RT_USING_VIRTIO_GPU
bool "Using VirtIO GPU"
default y
help
Build the VirtIO GPU driver for virtual display support.
config RT_USING_VIRTIO_INPUT
bool "Using VirtIO Input"
default y
help
Register VirtIO input devices (keyboard, pointer) through RT-Thread.
endif
|