[PATCH -V2 00/14] Allow PR and HV KVM to coexist in one kernel

Aneesh Kumar K.V aneesh.kumar at linux.vnet.ibm.com
Tue Oct 15 20:00:22 EST 2013


Hi Alex,

Any update on this ?

-aneesh

"Aneesh Kumar K.V" <aneesh.kumar at linux.vnet.ibm.com> writes:

> 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 at llmp24l02 qemu]# bash ../qemu
> failed to initialize KVM: Invalid argument
> [root at llmp24l02 qemu]# modprobe kvm-pr
> [root at llmp24l02 qemu]# bash ../qemu
> failed to initialize KVM: Invalid argument
> [root at llmp24l02 qemu]# modprobe  kvm-hv
> [root at llmp24l02 qemu]# bash ../qemu
>
> now with
>
>  -machine pseries,accel=kvm,kvm_type=PR
>
> [root at llmp24l02 qemu]# rmmod kvm-pr
> [root at llmp24l02 qemu]# bash ../qemu
> failed to initialize KVM: Invalid argument
> [root at llmp24l02 qemu]#
> [root at llmp24l02 qemu]# modprobe kvm-pr
> [root at llmp24l02 qemu]# bash ../qemu
>
> Changes from V1:
> * Build fixes for BOOKE (only compile tested)
> * Address review feedback
>
> -aneesh
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev



More information about the Linuxppc-dev mailing list