summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorNadav Amit <namit@cs.technion.ac.il>2014-09-30 21:49:19 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2014-11-03 14:07:24 +0300
commit518547b32ab41b12c1303d12e6e15fb1621dca4c (patch)
treea73ab7b46108c449f8a288ed1f3a2034047a47c3 /include/uapi
parent6bdf06625d240361e92254143a123ab432e337f8 (diff)
downloadlinux-518547b32ab41b12c1303d12e6e15fb1621dca4c.tar.xz
KVM: x86: Emulator does not calculate address correctly
In long-mode, when the address size is 4 bytes, the linear address is not truncated as the emulator mistakenly does. Instead, the offset within the segment (the ea field) should be truncated according to the address size. As Intel SDM says: "In 64-bit mode, the effective address components are added and the effective address is truncated ... before adding the full 64-bit segment base." Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions