fb1af628cbfc00a56efd51d489d7debfe6f80347
[firefly-linux-kernel-4.4.55.git] / drivers / xen / Kconfig
1 menu "Xen driver support"
2         depends on XEN
3
4 config XEN_BALLOON
5         bool "Xen memory balloon driver"
6         default y
7         help
8           The balloon driver allows the Xen domain to request more memory from
9           the system to expand the domain's memory allocation, or alternatively
10           return unneeded memory to the system.
11
12 config XEN_SCRUB_PAGES
13         bool "Scrub pages before returning them to system"
14         depends on XEN_BALLOON
15         default y
16         help
17           Scrub pages before returning them to the system for reuse by
18           other domains.  This makes sure that any confidential data
19           is not accidentally visible to other domains.  Is it more
20           secure, but slightly less efficient.
21           If in doubt, say yes.
22
23 config XEN_DEV_EVTCHN
24         tristate "Xen /dev/xen/evtchn device"
25         default y
26         help
27           The evtchn driver allows a userspace process to triger event
28           channels and to receive notification of an event channel
29           firing.
30           If in doubt, say yes.
31
32 config XEN_BACKEND
33         bool "Backend driver support"
34         depends on XEN_DOM0
35         default y
36         help
37           Support for backend device drivers that provide I/O services
38           to other virtual machines.
39
40 config XEN_BLKDEV_BACKEND
41         tristate "Block-device backend driver"
42         depends on XEN_BACKEND && BLOCK
43         help
44           The block-device backend driver allows the kernel to export its
45           block devices to other guests via a high-performance shared-memory
46           interface.
47
48 config XENFS
49         tristate "Xen filesystem"
50         default y
51         help
52           The xen filesystem provides a way for domains to share
53           information with each other and with the hypervisor.
54           For example, by reading and writing the "xenbus" file, guests
55           may pass arbitrary information to the initial domain.
56           If in doubt, say yes.
57
58 config XEN_COMPAT_XENFS
59        bool "Create compatibility mount point /proc/xen"
60        depends on XENFS
61        default y
62        help
63          The old xenstore userspace tools expect to find "xenbus"
64          under /proc/xen, but "xenbus" is now found at the root of the
65          xenfs filesystem.  Selecting this causes the kernel to create
66          the compatibility mount point /proc/xen if it is running on
67          a xen platform.
68          If in doubt, say yes.
69
70 config XEN_SYS_HYPERVISOR
71        bool "Create xen entries under /sys/hypervisor"
72        depends on SYSFS
73        select SYS_HYPERVISOR
74        default y
75        help
76          Create entries under /sys/hypervisor describing the Xen
77          hypervisor environment.  When running native or in another
78          virtual environment, /sys/hypervisor will still be present,
79          but will have no xen contents.
80
81 config XEN_XENBUS_FRONTEND
82         tristate
83
84 config XEN_GNTDEV
85         tristate "userspace grant access device driver"
86         depends on XEN
87         default m
88         select MMU_NOTIFIER
89         help
90           Allows userspace processes to use grants.
91
92 config XEN_GRANT_DEV_ALLOC
93         tristate "User-space grant reference allocator driver"
94         depends on XEN
95         default m
96         help
97           Allows userspace processes to create pages with access granted
98           to other domains. This can be used to implement frontend drivers
99           or as part of an inter-domain shared memory channel.
100
101 config XEN_PLATFORM_PCI
102         tristate "xen platform pci device driver"
103         depends on XEN_PVHVM && PCI
104         default m
105         help
106           Driver for the Xen PCI Platform device: it is responsible for
107           initializing xenbus and grant_table when running in a Xen HVM
108           domain. As a consequence this driver is required to run any Xen PV
109           frontend on Xen HVM.
110
111 config SWIOTLB_XEN
112         def_bool y
113         depends on PCI
114         select SWIOTLB
115
116 endmenu