From: Jan Kiszka <jan.kiszka@siemens.com>
To: Avi Kivity <avi@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>
Cc: Blue Swirl <blauwirbel@gmail.com>,
Anthony Liguori <aliguori@us.ibm.com>,
qemu-devel <qemu-devel@nongnu.org>,
kvm@vger.kernel.org, "Michael S. Tsirkin" <mst@redhat.com>
Subject: [Qemu-devel] [PATCH v3 16/16] kvm: Arm in-kernel irqchip support
Date: Tue, 6 Dec 2011 13:58:16 +0100 [thread overview]
Message-ID: <2c34eeeb9e933d76c95b9c640e107b6430526e64.1323176291.git.jan.kiszka@siemens.com> (raw)
In-Reply-To: <cover.1323176291.git.jan.kiszka@siemens.com>
In-Reply-To: <cover.1323176291.git.jan.kiszka@siemens.com>
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(-)
diff --git a/qemu-config.c b/qemu-config.c
index 90b6b3e..fc25115 100644
--- a/qemu-config.c
+++ b/qemu-config.c
@@ -483,6 +483,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 5d2a776..e10186b 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
--
1.7.3.4
next prev parent reply other threads:[~2011-12-06 12:58 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 12:58 [Qemu-devel] [PATCH v3 00/16] uq/master: Introduce basic irqchip support Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 01/16] msi: Generalize msix_supported to msi_supported Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 02/16] kvm: Move kvmclock into hw/kvm folder Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 03/16] apic: Stop timer on reset Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 04/16] apic: Introduce backend/frontend infrastructure for KVM reuse Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 05/16] apic: Open-code timer save/restore Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 06/16] i8259: Introduce backend/frontend infrastructure for KVM reuse Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 07/16] ioapic: Convert to memory API Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 08/16] ioapic: Reject non-dword accesses to IOWIN register Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 09/16] ioapic: Introduce backend/frontend infrastructure for KVM reuse Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 10/16] memory: Introduce memory_region_init_reservation Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 11/16] kvm: Introduce core services for in-kernel irqchip support Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 12/16] kvm: x86: Establish IRQ0 override control Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 13/16] kvm: x86: Add user space part for in-kernel APIC Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 14/16] kvm: x86: Add user space part for in-kernel i8259 Jan Kiszka
2011-12-06 12:58 ` [Qemu-devel] [PATCH v3 15/16] kvm: x86: Add user space part for in-kernel IOAPIC Jan Kiszka
2011-12-06 12:58 ` Jan Kiszka [this message]
2011-12-06 13:55 ` [Qemu-devel] [PATCH v3 00/16] uq/master: Introduce basic irqchip support Avi Kivity
2011-12-06 14:21 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2c34eeeb9e933d76c95b9c640e107b6430526e64.1323176291.git.jan.kiszka@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=aliguori@us.ibm.com \
--cc=avi@redhat.com \
--cc=blauwirbel@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=mst@redhat.com \
--cc=mtosatti@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).