]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3276c87e2e5fa3f1a39fac6ff74c8f7ac6eb81a
tree419f1a51980fb3cd93ab857d0c47457795fa90ef
parent408d7b9f88de6a13ac7f8cfae4755fd061821b2e
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