commit | 7a5b56dfd3a682a51fc84682290d5147872a8e99 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Sun Jun 22 16:22:51 2008 +0300 |
committer | Avi Kivity <avi@qumranet.com> | Sun Jul 20 12:42:35 2008 +0300 |
tree | f7b6f0e746df3c43ab8317d1c4b585334808e5fb | |
parent | 0adc8675d645940139d12477e5e05b8a0a7a1117 [diff] |
KVM: x86 emulator: lazily evaluate segment registers Instead of prefetching all segment bases before emulation, read them at the last moment. Since most of them are unneeded, we save some cycles on Intel machines where this is a bit expensive. Signed-off-by: Avi Kivity <avi@qumranet.com>