diff options
author | Alexander Graf <agraf@suse.de> | 2012-08-07 03:40:26 -0400 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-08-13 16:39:59 -0400 |
commit | 6024f1a4dd066d54213cc17f821e19e3062298ca (patch) | |
tree | 743e4c0b491056c762f985ee2e437da24b29dee2 /Documentation/virtual | |
parent | e423ca155d3f5f16b46e30de9c818875b1fd617d (diff) |
KVM: Add ppc hypercall documentation
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'Documentation/virtual')
-rw-r--r-- | Documentation/virtual/kvm/ppc-pv.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/virtual/kvm/ppc-pv.txt b/Documentation/virtual/kvm/ppc-pv.txt index 4911cf95c67e..4cd076febb02 100644 --- a/Documentation/virtual/kvm/ppc-pv.txt +++ b/Documentation/virtual/kvm/ppc-pv.txt | |||
@@ -174,3 +174,25 @@ following: | |||
174 | That way we can inject an arbitrary amount of code as replacement for a single | 174 | That way we can inject an arbitrary amount of code as replacement for a single |
175 | instruction. This allows us to check for pending interrupts when setting EE=1 | 175 | instruction. This allows us to check for pending interrupts when setting EE=1 |
176 | for example. | 176 | for example. |
177 | |||
178 | Hypercall ABIs in KVM on PowerPC | ||
179 | ================================= | ||
180 | 1) KVM hypercalls (ePAPR) | ||
181 | |||
182 | These are ePAPR compliant hypercall implementation (mentioned above). Even | ||
183 | generic hypercalls are implemented here, like the ePAPR idle hcall. These are | ||
184 | available on all targets. | ||
185 | |||
186 | 2) PAPR hypercalls | ||
187 | |||
188 | PAPR hypercalls are needed to run server PowerPC PAPR guests (-M pseries in QEMU). | ||
189 | These are the same hypercalls that pHyp, the POWER hypervisor implements. Some of | ||
190 | them are handled in the kernel, some are handled in user space. This is only | ||
191 | available on book3s_64. | ||
192 | |||
193 | 3) OSI hypercalls | ||
194 | |||
195 | Mac-on-Linux is another user of KVM on PowerPC, which has its own hypercall (long | ||
196 | before KVM). This is supported to maintain compatibility. All these hypercalls get | ||
197 | forwarded to user space. This is only useful on book3s_32, but can be used with | ||
198 | book3s_64 as well. | ||