[v6,18/18] kvm: Arm in-kernel irqchip support

Submitted by Jan Kiszka on Jan. 13, 2012, 5:35 p.m.

Details

Message ID 96dd5e8481c41d964e5b81cb65eda0ef69248e77.1326476111.git.jan.kiszka@siemens.com
State New
Headers show

Commit Message

Jan Kiszka Jan. 13, 2012, 5:35 p.m.
Make the basic in-kernel irqchip support selectable via
-machine ...,kernel_irqchip=on. Leave it off by default until it can
fully replace user space models.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 qemu-config.c   |    4 ++++
 qemu-options.hx |    5 ++++-
 2 files changed, 8 insertions(+), 1 deletions(-)

Comments

Peter Maydell Jan. 13, 2012, 6:49 p.m.
On 13 January 2012 17:35, Jan Kiszka <jan.kiszka@siemens.com> wrote:
> Subject: kvm: Arm in-kernel irqchip support

I have to say I found this Subject rather confusing :-)

-- PMM
Jan Kiszka Jan. 13, 2012, 7:04 p.m.
On 2012-01-13 19:49, Peter Maydell wrote:
> On 13 January 2012 17:35, Jan Kiszka <jan.kiszka@siemens.com> wrote:
>> Subject: kvm: Arm in-kernel irqchip support
> 
> I have to say I found this Subject rather confusing :-)

Deeply sorry, but I guess that verb predates the architecture by a few
years. ;)

Jan
Andreas Färber Jan. 13, 2012, 7:36 p.m.
Am 13.01.2012 20:04, schrieb Jan Kiszka:
> On 2012-01-13 19:49, Peter Maydell wrote:
>> On 13 January 2012 17:35, Jan Kiszka <jan.kiszka@siemens.com> wrote:
>>> Subject: kvm: Arm in-kernel irqchip support
>>
>> I have to say I found this Subject rather confusing :-)
> 
> Deeply sorry, but I guess that verb predates the architecture by a few
> years. ;)

"kvm: Add kernel_irqchip command line option" as a pacifist version?

Andreas

Patch hide | download patch | download mbox

diff --git a/qemu-config.c b/qemu-config.c
index 18f3020..bd93d6f 100644
--- a/qemu-config.c
+++ b/qemu-config.c
@@ -518,6 +518,10 @@  static QemuOptsList qemu_machine_opts = {
             .name = "accel",
             .type = QEMU_OPT_STRING,
             .help = "accelerator list",
+        }, {
+            .name = "kernel_irqchip",
+            .type = QEMU_OPT_BOOL,
+            .help = "use KVM in-kernel irqchip",
         },
         { /* End of list */ }
     },
diff --git a/qemu-options.hx b/qemu-options.hx
index a60191f..f293a50 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -31,7 +31,8 @@  DEF("machine", HAS_ARG, QEMU_OPTION_machine, \
     "-machine [type=]name[,prop[=value][,...]]\n"
     "                selects emulated machine (-machine ? for list)\n"
     "                property accel=accel1[:accel2[:...]] selects accelerator\n"
-    "                supported accelerators are kvm, xen, tcg (default: tcg)\n",
+    "                supported accelerators are kvm, xen, tcg (default: tcg)\n"
+    "                kernel_irqchip=on|off controls accelerated irqchip support\n",
     QEMU_ARCH_ALL)
 STEXI
 @item -machine [type=]@var{name}[,prop=@var{value}[,...]]
@@ -44,6 +45,8 @@  This is used to enable an accelerator. Depending on the target architecture,
 kvm, xen, or tcg can be available. By default, tcg is used. If there is more
 than one accelerator specified, the next one is used if the previous one fails
 to initialize.
+@item kernel_irqchip=on|off
+Enables in-kernel irqchip support for the chosen accelerator when available.
 @end table
 ETEXI