From: Nelson Elhage Date: Mon, 18 Apr 2011 16:05:53 +0000 (-0400) Subject: KVM: emulator: Use linearize() when fetching instructions X-Git-Tag: v3.0-rc1~350^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d9b938eefb7d91a1ae13e425931bd5ac103b762;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed