KVM: emulator: Use linearize() when fetching instructions
authorNelson Elhage <nelhage@ksplice.com>
Mon, 18 Apr 2011 16:05:53 +0000 (12:05 -0400)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:57:10 +0000 (07:57 -0400)
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: Nelson Elhage <nelhage@ksplice.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found