KVM: PPC: Move fields between struct kvm_vcpu_arch and kvmppc_vcpu_book3s
authorPaul Mackerras <paulus@samba.org>
Wed, 29 Jun 2011 00:17:33 +0000 (00:17 +0000)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 10:16:46 +0000 (13:16 +0300)
commitc4befc58a0cc5a8cc5b4a7234d67b6b16dec4e70
tree3f2fbc510d7bb613fd5362acd8f0c16809f7a8af
parent149dbdb1859be46a063a5b1b0aa99a5f999b7632
KVM: PPC: Move fields between struct kvm_vcpu_arch and kvmppc_vcpu_book3s

This moves the slb field, which represents the state of the emulated
SLB, from the kvmppc_vcpu_book3s struct to the kvm_vcpu_arch, and the
hpte_hash_[v]pte[_long] fields from kvm_vcpu_arch to kvmppc_vcpu_book3s.
This is in accord with the principle that the kvm_vcpu_arch struct
represents the state of the emulated CPU, and the kvmppc_vcpu_book3s
struct holds the auxiliary data structures used in the emulation.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_book3s.h
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/book3s_64_mmu.c
arch/powerpc/kvm/book3s_mmu_hpte.c
arch/powerpc/kvm/trace.h