Hypervisor-mode KVM on POWER7
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest12 patches 6 repliesIn review
- v113 patches 41 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | kvm/powerpc: Move fields between struct kvm_vcpu_arch and kvmppc_vcpu_book3sarch/ arch/ arch/ +3 more | +107 | 0 replies | |
| 2/12 | kvm/powerpc: Split out code from book3s.c into book3s_pr.carch/ arch/ arch/ +1 more | +1053 | 0 replies | |
| 3/12 | powerpc, kvm: Rework KVM checks in first-level interrupt handlersarch/ arch/ arch/ +3 more | +247 | 0 replies | |
| 4/12 | kvm/powerpc: Deliver program interrupts right away instead of queueing themarch/ | +3 | 0 replies | |
| 5/12 | kvm/powerpc: Pass init/destroy vm and prepare/commit memory region ops downarch/ arch/ arch/ +1 more | +53 | 0 replies | |
| 6/12 | kvm/powerpc: Move guest enter/exit down into subarch-specific codearch/ arch/ arch/ +2 more | +22 | 0 replies | |
| 7/12 | powerpc: Set up LPCR for running guest partitionsarch/ arch/ | +15 | 0 replies | |
| 8/12 | kvm/powerpc: Split host-state fields out of kvmppc_book3s_shadow_vcpuarch/ arch/ arch/ +4 more | +124 | 0 replies | |
| 9/12 | kvm/powerpc: Add support for Book3S processors in hypervisor modeDocumentation/ arch/ arch/ +21 more | +2125 | 0 replies | |
| 10/12 | kvm/powerpc: Handle some PAPR hcalls in the kernelarch/ arch/ arch/ +5 more | +685 | 0 replies | |
| 11/12 | kvm/powerpc: Accelerate H_PUT_TCE by implementing it in real modeDocumentation/ arch/ arch/ +8 more | +269 | 0 replies | |
| 12/12 | kvm/powerpc: Allow book3s_hv guests to use SMT processor modesDocumentation/ arch/ arch/ +11 more | +529 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/12] Hypervisor-mode KVM on POWER7
The following series of patches enable KVM to exploit the hardware hypervisor mode on 64-bit Power ISA Book3S machines. At present only POWER7 is supported, but it would be easy to add other processors.
Running the KVM host in hypervisor mode means that the guest can use both supervisor mode and user mode. That means that the guest can execute supervisor-privilege instructions and access supervisor- privilege registers. In addition the hardware directs most exceptions to the guest. Thus we don't need to emulate any instructions in the host. Generally, the only times we need to exit the guest are when it does a hypercall or when an external interrupt or host timer (decrementer) interrupt occurs.
The focus of this KVM implementation is to run guests that use the PAPR (Power Architecture Platform Requirements) paravirtualization interface, which is the interface supplied by PowerVM on IBM pSeries machines. Currently the "pseries" machine type in qemu is only supported by book3s_hv KVM, and book3s_hv KVM only supports the "pseries" machine type. That will hopefully change in future.
These patches are against Linus' v3.0-rc1 tree.
Paul.