KVM: X86: Introduce generic guest-mode representation
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 29 Nov 2010 16:51:47 +0000 (17:51 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:30:04 +0000 (11:30 +0200)
commitec9e60b21977007e3dfacc2b8fe3a8fbb9276b51
tree419f1a51980fb3cd93ab857d0c47457795fa90ef
parent6389ee946303cb4313dba0a49865e495a53351ff
KVM: X86: Introduce generic guest-mode representation

This patch introduces a generic representation of guest-mode
fpr a vcpu. This currently only exists in the SVM code.
Having this representation generic will help making the
non-svm code aware of nesting when this is necessary.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/kvm_cache_regs.h