Allow PR and HV KVM to coexist in one kernel
Status from this message: Thanks, applied all to kvm-ppc-queue.
Get series with b4
b4 am 1381164482-31001-1-git-send-email-aneesh.kumar@linux.vnet.ibm.comVersions newest first
Changes from V1 from the cover letter
* Build fixes for BOOKE (only compile tested)
* Address review feedback
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | kvm: powerpc: book3s: remove kvmppc_handler_highmem labelarch/ arch/ | +0 | 0 replies | |
| 2/14 | kvm: powerpc: book3s: move book3s_64_vio_hv.c into the main kernel binaryarch/ arch/ | +9 | 0 replies | |
| 3/14 | kvm: powerpc: book3s: pr: Rename KVM_BOOK3S_PR to KVM_BOOK3S_PR_POSSIBLEarch/ arch/ arch/ +6 more | +16 | 0 replies | |
| 4/14 | kvm: powerpc: book3s: Add a new config variable CONFIG_KVM_BOOK3S_HV_POSSIBLEarch/ arch/ arch/ +7 more | +43 | 0 replies | |
| 5/14 | kvm: powerpc: book3s: Add kvmppc_ops callbackarch/ arch/ arch/ +12 more | +554 | 0 replies | |
| 6/14 | kvm: powerpc: booke: Convert BOOKE to use kvmppc_ops callbacksarch/ arch/ arch/ +7 more | +194 | 2 replies | |
| 7/14 | kvm: powerpc: book3s: Cleanup interrupt handling codearch/ arch/ arch/ | +20 | 0 replies | |
| 8/14 | kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_opsarch/ arch/ arch/ +4 more | +79 | 0 replies | |
| 9/14 | kvm: powerpc: book3s: pr: move PR related tracepoints to a separate headerarch/ arch/ arch/ +2 more | +309 | 0 replies | |
| 10/14 | kvm: powerpc: booke: Move booke related tracepoints to separate headerarch/ arch/ arch/ +2 more | +183 | 0 replies | |
| 11/14 | kvm: powerpc: book3s: Support building HV and PR KVM as modulearch/ arch/ arch/ +7 more | +45 | 1 reply | |
| 12/14 | kvm: Add struct kvm arg to memslot APIsarch/ arch/ arch/ +8 more | +37 | 0 replies | |
| 13/14 | kvm: powerpc: book3s: Allow the HV and PR selection per virtual machinearch/ arch/ arch/ +11 more | +187 | 0 replies | |
| 14/14 | kvm: powerpc: book3s: drop is_hv_enabledarch/ arch/ arch/ +3 more | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH -V2 00/14] Allow PR and HV KVM to coexist in one kernel
Hi All,
This patch series support enabling HV and PR KVM together in the same kernel. We extend machine property with new property "kvm_type". A value of "HV" will force HV KVM and "PR" PR KVM. If we don't specify kvm_type we will select the fastest KVM mode. ie, HV if that is supported otherwise PR.
With Qemu command line having
-machine pseries,accel=kvm,kvm_type=HV
[root@llmp24l02 qemu]# bash ../qemu
failed to initialize KVM: Invalid argument
[root@llmp24l02 qemu]# modprobe kvm-pr
[root@llmp24l02 qemu]# bash ../qemu
failed to initialize KVM: Invalid argument
[root@llmp24l02 qemu]# modprobe kvm-hv
[root@llmp24l02 qemu]# bash ../qemu
now with
-machine pseries,accel=kvm,kvm_type=PR
[root@llmp24l02 qemu]# rmmod kvm-pr
[root@llmp24l02 qemu]# bash ../qemu
failed to initialize KVM: Invalid argument
[root@llmp24l02 qemu]#
[root@llmp24l02 qemu]# modprobe kvm-pr
[root@llmp24l02 qemu]# bash ../qemu
Changes from V1:
* Build fixes for BOOKE (only compile tested)
* Address review feedback
-aneesh