Skip to content

Introduce segmented addresses to the emulator

Avi Kivity kvm 2 versions Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v12 patches 1 replyApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: x86 emulator: preserve an operand's segment identityarch/x86/include/asm/kvm_emulate.h arch/x86/kvm/emulate.c+59 -520 replies
2/2KVM: x86 emulator: do not perform address calculations on linear addressesarch/x86/kvm/emulate.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Introduce segmented addresses to the emulator

Currently we lose segment information associated with memory operands. This prevents us from doing proper segment checks.

This patchset prepares the way by remembering which segment is associated with a memory operand.

Avi Kivity (2):
KVM: x86 emulator: preserve an operand's segment identity
v2: truncate linear address to 32 bits if not in long mode (thanks Gleb)
KVM: x86 emulator: do not perform address calculations on linear
addresses
v2: fix typo

 arch/x86/include/asm/kvm_emulate.h |    5 +-
 arch/x86/kvm/emulate.c             |  107 +++++++++++++++++++-----------------
 2 files changed, 60 insertions(+), 52 deletions(-)
Signature · 1 line
1.7.3.1