aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/spapr_caps.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2018-06-29 11:48:32 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2018-07-03 09:56:52 +1000
commitab2569600916864a9db431a7e42f08d5fc72730e (patch)
treed33b5dd10cc4496e27269384cc9574698fbd3967 /hw/ppc/spapr_caps.c
parent71d0f1eac43044ccfaf7c398a93dcdb09bf29e0f (diff)
target/ppc/kvm: don't pass cpu to kvm_get_smmu_info()
In a future patch the machine code will need to retrieve the MMU information from KVM during machine initialization before the CPUs are created. Actually, KVM_PPC_GET_SMMU_INFO is a VM class ioctl, and thus, we don't need to have a CPU object around. We just need for KVM to be initialized and use the kvm_state global. This patch just does that. Signed-off-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/spapr_caps.c')
0 files changed, 0 insertions, 0 deletions