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