diff options
author | Scott Wood <scottwood@freescale.com> | 2013-04-12 10:08:47 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-04-26 14:27:24 -0400 |
commit | eb1e4f43e0f47f2655372c7d32c43db9711c278e (patch) | |
tree | ac084d48a5590f6ca712242e0ca139abf57250a5 /Documentation/virtual | |
parent | 5df554ad5b7522ea62b0ff9d5be35183494efc21 (diff) |
kvm/ppc/mpic: add KVM_CAP_IRQ_MPIC
Enabling this capability connects the vcpu to the designated in-kernel
MPIC. Using explicit connections between vcpus and irqchips allows
for flexibility, but the main benefit at the moment is that it
simplifies the code -- KVM doesn't need vm-global state to remember
which MPIC object is associated with this vm, and it doesn't need to
care about ordering between irqchip creation and vcpu creation.
Signed-off-by: Scott Wood <scottwood@freescale.com>
[agraf: add stub functions for kvmppc_mpic_{dis,}connect_vcpu]
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'Documentation/virtual')
-rw-r--r-- | Documentation/virtual/kvm/api.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index 66b58e494935..149558b1e81e 100644 --- a/Documentation/virtual/kvm/api.txt +++ b/Documentation/virtual/kvm/api.txt | |||
@@ -2744,3 +2744,11 @@ to receive the topmost interrupt vector. | |||
2744 | When disabled (args[0] == 0), behavior is as if this facility is unsupported. | 2744 | When disabled (args[0] == 0), behavior is as if this facility is unsupported. |
2745 | 2745 | ||
2746 | When this capability is enabled, KVM_EXIT_EPR can occur. | 2746 | When this capability is enabled, KVM_EXIT_EPR can occur. |
2747 | |||
2748 | 6.6 KVM_CAP_IRQ_MPIC | ||
2749 | |||
2750 | Architectures: ppc | ||
2751 | Parameters: args[0] is the MPIC device fd | ||
2752 | args[1] is the MPIC CPU number for this vcpu | ||
2753 | |||
2754 | This capability connects the vcpu to an in-kernel MPIC device. | ||