Skip to content
Commit 7a5b56df authored by Avi Kivity's avatar Avi Kivity
Browse files

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: default avatarAvi Kivity <avi@qumranet.com>
parent 0adc8675
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment