Skip to content
Snippets Groups Projects
Commit 3d9b938e authored by Nelson Elhage's avatar Nelson Elhage Committed by Avi Kivity
Browse files

KVM: emulator: Use linearize() when fetching instructions


Since segments need to be handled slightly differently when fetching
instructions, we add a __linearize helper that accepts a new 'fetch' boolean.

[avi: fix oops caused by wrong segmented_address initialization order]

Signed-off-by: default avatarNelson Elhage <nelhage@ksplice.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 7c4c0f4f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment