From: Gleb Natapov Date: Wed, 28 Apr 2010 16:15:29 +0000 (+0300) Subject: KVM: x86 emulator: add get_cached_segment_base() callback to x86_emulate_ops X-Git-Tag: v2.6.36-rc1~580^2~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5951c4423724759906b10a26aa6a8817c4afa615;p=pandora-kernel.git KVM: x86 emulator: add get_cached_segment_base() callback to x86_emulate_ops On VMX it is expensive to call get_cached_descriptor() just to get segment base since multiple vmcs_reads are done instead of only one. Introduce new call back get_cached_segment_base() for efficiency. Signed-off-by: Gleb Natapov Signed-off-by: Avi Kivity --- Reading git-diff-tree failed