summaryrefslogtreecommitdiffstats
path: root/security/keys
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-06-19 19:21:11 +0300
committerAvi Kivity <avi@redhat.com>2011-06-29 10:09:25 +0300
commitcb16c348760ad2bc79b67b20aefac05529569ed7 (patch)
tree64a3928c22676e0e09d5d514708c98cd20aa5a44 /security/keys
parentb0af8dfdd67699e25083478c63eedef2e72ebd85 (diff)
downloadop-kernel-dev-cb16c348760ad2bc79b67b20aefac05529569ed7.zip
op-kernel-dev-cb16c348760ad2bc79b67b20aefac05529569ed7.tar.gz
KVM: x86 emulator: fix %rip-relative addressing with immediate source operand
%rip-relative addressing is relative to the first byte of the next instruction, so we need to add %rip only after we've fetched any immediate bytes. Based on original patch by Li Xin <xin.li@intel.com>. Signed-off-by: Avi Kivity <avi@redhat.com> Acked-by: Li Xin <xin.li@intel.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud