Kconfig (94fb1afb14c4f0ceb8c5508ddddac6819f662e95) | Kconfig (a13f2ef168cb2a033a284eb841bcc481ffbc90cf) |
---|---|
1# SPDX-License-Identifier: GPL-2.0-only 2menu "Xen driver support" 3 depends on XEN 4 5config XEN_BALLOON 6 bool "Xen memory balloon driver" 7 default y 8 help --- 38 unchanged lines hidden (view full) --- 47 [ "`cat "$i"`" = offline ] && echo online > "$i"; done 48 49 or by adding the following line to udev rules: 50 51 SUBSYSTEM=="memory", ACTION=="add", RUN+="/bin/sh -c '[ -f /sys$devpath/state ] && echo online > /sys$devpath/state'" 52 53config XEN_BALLOON_MEMORY_HOTPLUG_LIMIT 54 int "Hotplugged memory limit (in GiB) for a PV guest" | 1# SPDX-License-Identifier: GPL-2.0-only 2menu "Xen driver support" 3 depends on XEN 4 5config XEN_BALLOON 6 bool "Xen memory balloon driver" 7 default y 8 help --- 38 unchanged lines hidden (view full) --- 47 [ "`cat "$i"`" = offline ] && echo online > "$i"; done 48 49 or by adding the following line to udev rules: 50 51 SUBSYSTEM=="memory", ACTION=="add", RUN+="/bin/sh -c '[ -f /sys$devpath/state ] && echo online > /sys$devpath/state'" 52 53config XEN_BALLOON_MEMORY_HOTPLUG_LIMIT 54 int "Hotplugged memory limit (in GiB) for a PV guest" |
55 default 512 if X86_64 56 default 4 if X86_32 57 range 0 64 if X86_32 | 55 default 512 |
58 depends on XEN_HAVE_PVMMU 59 depends on XEN_BALLOON_MEMORY_HOTPLUG 60 help 61 Maxmium amount of memory (in GiB) that a PV guest can be 62 expanded to when using memory hotplug. 63 64 A PV guest can have more memory than this limit if is 65 started with a larger maximum. --- 108 unchanged lines hidden (view full) --- 174 ({increase|decrease}_reservation and VA mappings are updated if 175 needed). 176 This is useful for sharing foreign buffers with HW drivers which 177 cannot work with scattered buffers provided by the balloon driver, 178 but require DMAable memory instead. 179 180config SWIOTLB_XEN 181 def_bool y | 56 depends on XEN_HAVE_PVMMU 57 depends on XEN_BALLOON_MEMORY_HOTPLUG 58 help 59 Maxmium amount of memory (in GiB) that a PV guest can be 60 expanded to when using memory hotplug. 61 62 A PV guest can have more memory than this limit if is 63 started with a larger maximum. --- 108 unchanged lines hidden (view full) --- 172 ({increase|decrease}_reservation and VA mappings are updated if 173 needed). 174 This is useful for sharing foreign buffers with HW drivers which 175 cannot work with scattered buffers provided by the balloon driver, 176 but require DMAable memory instead. 177 178config SWIOTLB_XEN 179 def_bool y |
182 select DMA_OPS | |
183 select SWIOTLB 184 185config XEN_PCIDEV_BACKEND 186 tristate "Xen PCI-device backend driver" 187 depends on PCI && X86 && XEN 188 depends on XEN_BACKEND 189 default m 190 help --- 140 unchanged lines hidden --- | 180 select SWIOTLB 181 182config XEN_PCIDEV_BACKEND 183 tristate "Xen PCI-device backend driver" 184 depends on PCI && X86 && XEN 185 depends on XEN_BACKEND 186 default m 187 help --- 140 unchanged lines hidden --- |