aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/step.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-09-01 16:06:25 +0300
committerAvi Kivity <avi@redhat.com>2009-09-10 18:11:06 +0300
commite8a48342e9bc1c65ffe4bb3b3ac964e726dbd4c0 (patch)
treea669d0c24552f924ad7d1ee463ceb823a60bdd30 /arch/x86/kernel/step.c
parent3d53c27d05950390712f92c5ad1604c60190ed64 (diff)
KVM: VMX: Conditionally reload debug register 6
Only reload debug register 6 if we're running with the guest's debug registers. Saves around 150 cycles from the guest lightweight exit path. dr6 contains a couple of bits that are updated on #DB, so intercept that unconditionally and update those bits then. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kernel/step.c')
0 files changed, 0 insertions, 0 deletions