summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_emulate.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-04-20 14:32:49 +0200
committerAvi Kivity <avi@redhat.com>2011-05-22 14:39:14 +0200
commit2d04a05bd7e93c13f13a82ac40de4065a99d069b (patch)
tree6fc122171050ca4b0a6aca5ab5aeb8d94add0108 /arch/x86/include/asm/kvm_emulate.h
parentKVM: x86 emulator: Replace calls to is_pae() and is_paging with ->get_cr() (diff)
downloadlinux-2d04a05bd7e93c13f13a82ac40de4065a99d069b.tar.xz
linux-2d04a05bd7e93c13f13a82ac40de4065a99d069b.zip
KVM: x86 emulator: emulate CLTS internally
Avoid using ctxt->vcpu; we can do everything with ->get_cr() and ->set_cr(). A side effect is that we no longer activate the fpu on emulated CLTS; but that should be very rare. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_emulate.h')
0 files changed, 0 insertions, 0 deletions