aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/compat.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-04-19 06:22:48 -0400
committerAvi Kivity <avi@qumranet.com>2007-05-03 03:52:30 -0400
commite38aea3e9330624d19a233c05f3e69c57519edd5 (patch)
tree68daabdafa535043ab68d01b80642fbf6a4c0977 /ipc/compat.c
parent2345df8c555ecb92c0c36172c07d5ac321a92dc7 (diff)
KVM: VMX: Don't switch 64-bit msrs for 32-bit guests
Some msrs are only used by x86_64 instructions, and are therefore not needed when the guest is legacy mode. By not bothering to switch them, we reduce vmexit latency by 2400 cycles (from about 8800) when running a 32-bt guest on a 64-bit host. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions