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(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html