]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Add fields to shadow vcpu
authorAlexander Graf <agraf@suse.de>
Thu, 15 Apr 2010 22:11:39 +0000 (00:11 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:24 +0000 (12:18 +0300)
commit8b80b71eab77e7477a2f5e4ce0bd8ee09afeb8c7
tree54b6db500ad01fde269c55bb6b5d06518908d82c
parent49a5c814df0e97bdc6c8147c4bca31c8e7f415bd
KVM: PPC: Add fields to shadow vcpu

After a lot of thought on how to make the entry / exit code easier,
I figured it'd be clever to put even more register state into the
shadow vcpu. That way we have more registers available to use, making
the code easier to read.

So this patch adds a few new fields to that shadow vcpu. Later on we
will remove the originals from the vcpu and paca.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_book3s_asm.h