aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorMatt Gingell <gingell@google.com>2015-11-16 10:03:06 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2015-12-17 17:15:40 +0100
commit32c18a2dbaf79c241eddabd19a3b410bab5bf0cc (patch)
tree6b3fd1e6c987d5e812dbcc279ad087789dbf9f74 /qapi
parentff99aa64b13ea85ee35ec09c3fe720ad8bc83154 (diff)
kvm: add support for -machine kernel_irqchip=split
This patch adds the initial plumbing for split IRQ chip mode via KVM_CAP_SPLIT_IRQCHIP. In addition to option processing, a number of kvm_*_in_kernel macros are defined to help clarify which component is where. Signed-off-by: Matt Gingell <gingell@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/common.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/qapi/common.json b/qapi/common.json
index 6fb40e7a15..9353a7b377 100644
--- a/qapi/common.json
+++ b/qapi/common.json
@@ -115,3 +115,19 @@
##
{ 'enum': 'OnOffAuto',
'data': [ 'auto', 'on', 'off' ] }
+
+##
+# @OnOffSplit
+#
+# An enumeration of three values: on, off, and split
+#
+# @on: Enabled
+#
+# @off: Disabled
+#
+# @split: Mixed
+#
+# Since: 2.6
+##
+{ 'enum': 'OnOffSplit',
+ 'data': [ 'on', 'off', 'split' ] }