aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/virtio/Kconfig
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@arm.com>2012-05-09 13:30:16 -0400
committerRusty Russell <rusty@rustcorp.com.au>2012-05-21 22:46:15 -0400
commit81a054ce0b469b66c88e9da6403082759c64bf73 (patch)
tree4736df1e0d7c7d9143a1e6dbbfe8947d8079f934 /drivers/virtio/Kconfig
parentf65ca1dc6a8c81c6bd72297d4399ec5f4c1f3a01 (diff)
virtio-mmio: Devices parameter parsing
This patch adds an option to instantiate guest virtio-mmio devices basing on a kernel command line (or module) parameter, for example: virtio_mmio.devices=0x100@0x100b0000:48 Signed-off-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio/Kconfig')
-rw-r--r--drivers/virtio/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index 1a61939b85fc..f38b17a86c35 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -46,4 +46,15 @@ config VIRTIO_BALLOON
46 46
47 If unsure, say N. 47 If unsure, say N.
48 48
49config VIRTIO_MMIO_CMDLINE_DEVICES
50 bool "Memory mapped virtio devices parameter parsing"
51 depends on VIRTIO_MMIO
52 ---help---
53 Allow virtio-mmio devices instantiation via the kernel command line
54 or module parameters. Be aware that using incorrect parameters (base
55 address in particular) can crash your system - you have been warned.
56 See Documentation/kernel-parameters.txt for details.
57
58 If unsure, say 'N'.
59
49endmenu 60endmenu