KVM: VMX: Add instruction rdtscp support for guest
authorSheng Yang <sheng@linux.intel.com>
Fri, 18 Dec 2009 08:48:47 +0000 (16:48 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:40 +0000 (12:35 -0300)
commit4e47c7a6d714cf352b719db92a924b6ec487acc5
treeb968765b85124e0b59f415bf8e4d499ef953236e
parent0e85188049afacdfce9c026144142264981bbabb
KVM: VMX: Add instruction rdtscp support for guest

Before enabling, execution of "rdtscp" in guest would result in #UD.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/include/asm/vmx.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c