All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -V2 00/14] Allow PR and HV KVM to coexist in one kernel
@ 2013-10-07 16:47 ` Aneesh Kumar K.V
  0 siblings, 0 replies; 59+ messages in thread
From: Aneesh Kumar K.V @ 2013-10-07 16:47 UTC (permalink / raw)
  To: agraf, benh, paulus; +Cc: linuxppc-dev, kvm-ppc, kvm

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

^ permalink raw reply	[flat|nested] 59+ messages in thread

end of thread, other threads:[~2013-10-18  4:56 UTC | newest]

Thread overview: 59+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-07 16:47 [PATCH -V2 00/14] Allow PR and HV KVM to coexist in one kernel Aneesh Kumar K.V
2013-10-07 16:59 ` Aneesh Kumar K.V
2013-10-07 16:47 ` Aneesh Kumar K.V
2013-10-07 16:47 ` [PATCH -V2 01/14] kvm: powerpc: book3s: remove kvmppc_handler_highmem label Aneesh Kumar K.V
2013-10-07 16:59   ` Aneesh Kumar K.V
2013-10-07 16:47   ` Aneesh Kumar K.V
2013-10-07 16:47 ` [PATCH -V2 02/14] kvm: powerpc: book3s: move book3s_64_vio_hv.c into the main kernel binary Aneesh Kumar K.V
2013-10-07 16:59   ` Aneesh Kumar K.V
2013-10-07 16:47   ` Aneesh Kumar K.V
2013-10-07 16:47 ` [PATCH -V2 03/14] kvm: powerpc: book3s: pr: Rename KVM_BOOK3S_PR to KVM_BOOK3S_PR_POSSIBLE Aneesh Kumar K.V
2013-10-07 16:59   ` Aneesh Kumar K.V
2013-10-07 16:47   ` Aneesh Kumar K.V
2013-10-07 16:47 ` [PATCH -V2 04/14] kvm: powerpc: book3s: Add a new config variable CONFIG_KVM_BOOK3S_HV_POSSIBLE Aneesh Kumar K.V
2013-10-07 16:59   ` Aneesh Kumar K.V
2013-10-07 16:47   ` Aneesh Kumar K.V
2013-10-07 16:47 ` [PATCH -V2 05/14] kvm: powerpc: book3s: Add kvmppc_ops callback Aneesh Kumar K.V
2013-10-07 16:59   ` Aneesh Kumar K.V
2013-10-07 16:47   ` Aneesh Kumar K.V
2013-10-07 16:47 ` [PATCH -V2 06/14] kvm: powerpc: booke: Convert BOOKE to use kvmppc_ops callbacks Aneesh Kumar K.V
2013-10-07 16:59   ` Aneesh Kumar K.V
2013-10-07 16:47   ` Aneesh Kumar K.V
2013-10-17 16:50   ` Alexander Graf
2013-10-17 16:50     ` Alexander Graf
2013-10-17 16:50     ` Alexander Graf
2013-10-18  4:44     ` Aneesh Kumar K.V
2013-10-18  4:56       ` Aneesh Kumar K.V
2013-10-18  4:44       ` Aneesh Kumar K.V
2013-10-07 16:47 ` [PATCH -V2 07/14] kvm: powerpc: book3s: Cleanup interrupt handling code Aneesh Kumar K.V
2013-10-07 16:59   ` Aneesh Kumar K.V
2013-10-07 16:47 ` [PATCH -V2 08/14] kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_ops Aneesh Kumar K.V
2013-10-07 16:59   ` Aneesh Kumar K.V
2013-10-07 16:47   ` Aneesh Kumar K.V
2013-10-07 16:47 ` [PATCH -V2 09/14] kvm: powerpc: book3s: pr: move PR related tracepoints to a separate header Aneesh Kumar K.V
2013-10-07 16:59   ` Aneesh Kumar K.V
2013-10-07 16:47   ` Aneesh Kumar K.V
2013-10-07 16:47 ` [PATCH -V2 10/14] kvm: powerpc: booke: Move booke related tracepoints to " Aneesh Kumar K.V
2013-10-07 16:59   ` Aneesh Kumar K.V
2013-10-07 16:47   ` Aneesh Kumar K.V
2013-10-07 16:47 ` [PATCH -V2 11/14] kvm: powerpc: book3s: Support building HV and PR KVM as module Aneesh Kumar K.V
2013-10-07 16:59   ` Aneesh Kumar K.V
2013-10-07 16:47   ` Aneesh Kumar K.V
2013-10-17  5:11   ` Aneesh Kumar K.V
2013-10-17  5:23     ` Aneesh Kumar K.V
2013-10-17  5:11     ` Aneesh Kumar K.V
2013-10-07 16:48 ` [PATCH -V2 12/14] kvm: Add struct kvm arg to memslot APIs Aneesh Kumar K.V
2013-10-07 16:49   ` Aneesh Kumar K.V
2013-10-07 16:48   ` Aneesh Kumar K.V
2013-10-07 16:48 ` [PATCH -V2 13/14] kvm: powerpc: book3s: Allow the HV and PR selection per virtual machine Aneesh Kumar K.V
2013-10-07 16:49   ` Aneesh Kumar K.V
2013-10-07 16:48   ` Aneesh Kumar K.V
2013-10-07 16:48 ` [PATCH -V2 14/14] kvm: powerpc: book3s: drop is_hv_enabled Aneesh Kumar K.V
2013-10-07 17:00   ` Aneesh Kumar K.V
2013-10-07 16:48   ` Aneesh Kumar K.V
2013-10-15  9:00 ` [PATCH -V2 00/14] Allow PR and HV KVM to coexist in one kernel Aneesh Kumar K.V
2013-10-15  9:12   ` Aneesh Kumar K.V
2013-10-15  9:00   ` Aneesh Kumar K.V
2013-10-17 16:49 ` Alexander Graf
2013-10-17 16:49   ` Alexander Graf
2013-10-17 16:49   ` Alexander Graf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.