xref: /qemu/hw/virtio/Kconfig (revision bb154e3e)
1config VIRTIO
2    bool
3
4config VIRTIO_RNG
5    bool
6    default y
7    depends on VIRTIO
8
9config VIRTIO_NSM
10   bool
11   depends on LIBCBOR && VIRTIO
12
13config VIRTIO_IOMMU
14    bool
15    default y
16    depends on PCI && VIRTIO
17
18config VIRTIO_PCI
19    bool
20    default y if PCI_DEVICES
21    depends on PCI
22    select VIRTIO
23    select VIRTIO_MD_SUPPORTED
24
25config VIRTIO_MMIO
26    bool
27    select VIRTIO
28
29config VIRTIO_CCW
30    bool
31    select VIRTIO
32
33config VIRTIO_BALLOON
34    bool
35    default y
36    depends on VIRTIO
37
38config VIRTIO_CRYPTO
39    bool
40    default y
41    depends on VIRTIO
42
43# not all virtio transports support memory devices; if none does,
44# no need to include the code
45config VIRTIO_MD_SUPPORTED
46    bool
47
48config VIRTIO_MD
49    bool
50    depends on VIRTIO_MD_SUPPORTED
51    select MEM_DEVICE
52
53# selected by the board if it has the required support code
54config VIRTIO_PMEM_SUPPORTED
55    bool
56
57config VIRTIO_PMEM
58    bool
59    default y
60    depends on VIRTIO
61    depends on VIRTIO_MD_SUPPORTED
62    depends on VIRTIO_PMEM_SUPPORTED
63    select VIRTIO_MD
64
65# selected by the board if it has the required support code
66config VIRTIO_MEM_SUPPORTED
67    bool
68
69config VIRTIO_MEM
70    bool
71    default y
72    depends on VIRTIO
73    depends on LINUX
74    depends on VIRTIO_MD_SUPPORTED
75    depends on VIRTIO_MEM_SUPPORTED
76    select VIRTIO_MD
77
78config VHOST_VSOCK_COMMON
79    bool
80    depends on VIRTIO
81
82config VHOST_VSOCK
83    bool
84    default y
85    select VHOST_VSOCK_COMMON
86    depends on VIRTIO && VHOST_KERNEL
87
88config VHOST_USER_VSOCK
89    bool
90    default y
91    select VHOST_VSOCK_COMMON
92    depends on VIRTIO && VHOST_USER
93
94config VHOST_USER_I2C
95    bool
96    default y
97    depends on VIRTIO && VHOST_USER
98
99config VHOST_USER_RNG
100    bool
101    default y
102    depends on VIRTIO && VHOST_USER
103
104config VHOST_USER_FS
105    bool
106    default y
107    depends on VIRTIO && VHOST_USER
108
109config VHOST_USER_GPIO
110    bool
111    default y
112    depends on VIRTIO && VHOST_USER
113
114config VHOST_VDPA_DEV
115    bool
116    default y
117    depends on VIRTIO && VHOST_VDPA && LINUX
118
119config VHOST_USER_SND
120    bool
121    default y
122    depends on VIRTIO && VHOST_USER
123
124config VHOST_USER_SCMI
125    bool
126    default y
127    depends on VIRTIO && VHOST_USER && ARM
128