diff options
author | Pawel Moll <pawel.moll@arm.com> | 2012-05-09 13:30:16 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-05-21 22:46:15 -0400 |
commit | 81a054ce0b469b66c88e9da6403082759c64bf73 (patch) | |
tree | 4736df1e0d7c7d9143a1e6dbbfe8947d8079f934 /Documentation/kernel-parameters.txt | |
parent | f65ca1dc6a8c81c6bd72297d4399ec5f4c1f3a01 (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 'Documentation/kernel-parameters.txt')
-rw-r--r-- | Documentation/kernel-parameters.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index c1601e5a8b71..8b350512f360 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -110,6 +110,7 @@ parameter is applicable: | |||
110 | USB USB support is enabled. | 110 | USB USB support is enabled. |
111 | USBHID USB Human Interface Device support is enabled. | 111 | USBHID USB Human Interface Device support is enabled. |
112 | V4L Video For Linux support is enabled. | 112 | V4L Video For Linux support is enabled. |
113 | VMMIO Driver for memory mapped virtio devices is enabled. | ||
113 | VGA The VGA console has been enabled. | 114 | VGA The VGA console has been enabled. |
114 | VT Virtual terminal support is enabled. | 115 | VT Virtual terminal support is enabled. |
115 | WDT Watchdog support is enabled. | 116 | WDT Watchdog support is enabled. |
@@ -2847,6 +2848,22 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
2847 | video= [FB] Frame buffer configuration | 2848 | video= [FB] Frame buffer configuration |
2848 | See Documentation/fb/modedb.txt. | 2849 | See Documentation/fb/modedb.txt. |
2849 | 2850 | ||
2851 | virtio_mmio.device= | ||
2852 | [VMMIO] Memory mapped virtio (platform) device. | ||
2853 | |||
2854 | <size>@<baseaddr>:<irq>[:<id>] | ||
2855 | where: | ||
2856 | <size> := size (can use standard suffixes | ||
2857 | like K, M and G) | ||
2858 | <baseaddr> := physical base address | ||
2859 | <irq> := interrupt number (as passed to | ||
2860 | request_irq()) | ||
2861 | <id> := (optional) platform device id | ||
2862 | example: | ||
2863 | virtio_mmio.device=1K@0x100b0000:48:7 | ||
2864 | |||
2865 | Can be used multiple times for multiple devices. | ||
2866 | |||
2850 | vga= [BOOT,X86-32] Select a particular video mode | 2867 | vga= [BOOT,X86-32] Select a particular video mode |
2851 | See Documentation/x86/boot.txt and | 2868 | See Documentation/x86/boot.txt and |
2852 | Documentation/svga.txt. | 2869 | Documentation/svga.txt. |