-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Expand file tree
/
Copy pathKconfig
More file actions
59 lines (48 loc) · 1.89 KB
/
Kconfig
File metadata and controls
59 lines (48 loc) · 1.89 KB
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
menuconfig RT_USING_VIRTIO
bool "Using VirtIO device drivers"
default n
if RT_USING_VIRTIO
choice RT_USING_VIRTIO_VERSION
prompt "VirtIO Version"
default RT_USING_VIRTIO_LEGACY
config RT_USING_VIRTIO_LEGACY
bool "VirtIO Legacy (v0.95)"
help
Support for VirtIO legacy interface (version 0x1).
This is the older version compatible with most existing QEMU versions.
config RT_USING_VIRTIO10
bool "VirtIO Legacy (v1.0 - alias for compatibility)"
help
Alias for RT_USING_VIRTIO_LEGACY for backward compatibility.
Support for VirtIO legacy interface (version 0x1).
config RT_USING_VIRTIO_MODERN
bool "VirtIO Modern (v1.0+)"
help
Support for VirtIO modern interface (version 0x2).
This version supports VirtIO 1.0, 1.1, and 1.2 specifications.
Requires QEMU 2.4+ or compatible hypervisor.
endchoice
config RT_USING_VIRTIO_MMIO_ALIGN
bool "Using VirtIO MMIO alignment"
default y
config RT_USING_VIRTIO_BLK
bool "Using VirtIO BLK"
default y
config RT_USING_VIRTIO_NET
bool "Using VirtIO NET"
default y
menuconfig RT_USING_VIRTIO_CONSOLE
bool "Using VirtIO Console"
default y
if RT_USING_VIRTIO_CONSOLE
config RT_USING_VIRTIO_CONSOLE_PORT_MAX_NR
int "Max number of port in VirtIO Console"
default 4
endif
config RT_USING_VIRTIO_GPU
bool "Using VirtIO GPU"
default y
config RT_USING_VIRTIO_INPUT
bool "Using VirtIO Input"
default y
endif