diff options
author | Avi Kivity <avi@qumranet.com> | 2007-04-19 14:28:44 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-05-03 10:52:30 +0300 |
commit | 4d56c8a787aefb2e3fc4ac4be966db96c14d1ad8 (patch) | |
tree | 99db1bc065832b2685bd5edb75cd7c1019011ead /ipc | |
parent | 35cc7f971188366f5a5c0d5da1456bb38cef5da9 (diff) | |
download | lwn-4d56c8a787aefb2e3fc4ac4be966db96c14d1ad8.tar.gz lwn-4d56c8a787aefb2e3fc4ac4be966db96c14d1ad8.zip |
KVM: VMX: Only save/restore MSR_K6_STAR if necessary
Intel hosts only support syscall/sysret in long more (and only if efer.sce
is enabled), so only reload the related MSR_K6_STAR if the guest will
actually be able to use it.
This reduces vmexit cost by about 500 cycles (6400 -> 5870) on my setup.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions