From: Aneesh Kumar K.V Date: Mon, 7 Oct 2013 16:48:01 +0000 (+0530) Subject: kvm: powerpc: book3s: Allow the HV and PR selection per virtual machine X-Git-Tag: v3.13-rc1~80^2~15^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbbc58d4fdfab1a39a6ac1b41fcb17885952157a;p=pandora-kernel.git kvm: powerpc: book3s: Allow the HV and PR selection per virtual machine This moves the kvmppc_ops callbacks to be a per VM entity. This enables us to select HV and PR mode when creating a VM. We also allow both kvm-hv and kvm-pr kernel module to be loaded. To achieve this we move /dev/kvm ownership to kvm.ko module. Depending on which KVM mode we select during VM creation we take a reference count on respective module Signed-off-by: Aneesh Kumar K.V [agraf: fix coding style] Signed-off-by: Alexander Graf --- Reading git-diff-tree failed