From 32c18a2dbaf79c241eddabd19a3b410bab5bf0cc Mon Sep 17 00:00:00 2001 From: Matt Gingell Date: Mon, 16 Nov 2015 10:03:06 -0800 Subject: 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 Signed-off-by: Paolo Bonzini --- qapi/common.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'qapi') 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' ] } -- cgit v1.2.1