diff options
author | Avi Kivity <avi@qumranet.com> | 2007-04-19 06:22:48 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-05-03 03:52:30 -0400 |
commit | e38aea3e9330624d19a233c05f3e69c57519edd5 (patch) | |
tree | 68daabdafa535043ab68d01b80642fbf6a4c0977 /ipc/compat.c | |
parent | 2345df8c555ecb92c0c36172c07d5ac321a92dc7 (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