commit | 3d9b938eefb7d91a1ae13e425931bd5ac103b762 | [log] [tgz] |
---|---|---|
author | Nelson Elhage <nelhage@ksplice.com> | Mon Apr 18 12:05:53 2011 -0400 |
committer | Avi Kivity <avi@redhat.com> | Wed May 11 07:57:10 2011 -0400 |
tree | 96ecffc81c09cc5578a5375cb357895084b552fa | |
parent | 7c4c0f4fd5c3e82234c0ab61c7e7ffdb8f3af07b [diff] |
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: Nelson Elhage <nelhage@ksplice.com> Signed-off-by: Avi Kivity <avi@redhat.com>