Emulator segment checks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | KVM: x86 emulator: Add helpers for memory access using segmented addressesarch/ | +52 | 0 replies | |
| 2/7 | KVM: x86 emulator: move invlpg emulation into a functionarch/ | +10 | 0 replies | |
| 3/7 | KVM: x86 emulator: change address linearization to return an error codearch/ | +39 | 0 replies | |
| 4/7 | KVM: x86 emulator: pass access size and read/write intent to linearize()arch/ | +6 | 0 replies | |
| 5/7 | KVM: x86 emulator: move linearize() downwardsarch/ | +15 | 0 replies | |
| 6/7 | KVM: x86 emulator: move desc_limit_scaled()arch/ | +7 | 0 replies | |
| 7/7 | KVM: x86 emulator: implement segment permission checksarch/ | +63 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Emulator segment checks
This patchset implements segment checks for the emulator. These are needed for guests which can both get the emulator to execute an instruction from an unprivilged context, and also rely on segmentation for security.
Avi Kivity (7):
KVM: x86 emulator: Add helpers for memory access using segmented
addresses
KVM: x86 emulator: move invlpg emulation into a function
KVM: x86 emulator: change address linearization to return an error
code
KVM: x86 emulator: pass access size and read/write intent to
linearize()
KVM: x86 emulator: move linearize() downwards
KVM: x86 emulator: move desc_limit_scaled()
KVM: x86 emulator: implement segment permission checks
arch/x86/kvm/emulate.c | 222 ++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 176 insertions(+), 46 deletions(-)