[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH for-4.9 00/15] XSA-191 followup
This is partly RFC as there is a whole lot of rebasing happened recently and I haven't run thorough tests yet. This is the quantity of changes required to fix some edgecases in XSA-191 which were ultimately chosen not to go out in the security fix. The main purpose of this series is to fix emulation sufficiently to allow patch 15 to avoid opencoding all of the segmenation logic. Andrew Cooper (15): x86/hvm: Rename hvm_emulate_init() and hvm_emulate_prepare() for clarity x86/emul: Simplfy emulation state setup x86/emul: Rename hvm_trap to x86_event and move it into the emulation infrastructure x86/emul: Rename HVM_DELIVER_NO_ERROR_CODE to X86_EVENT_NO_EC x86/emul: Remove opencoded exception generation x86/emul: Rework emulator event injection x86/vmx: Use hvm_{get,set}_segment_register() rather than vmx_{get,set}_segment_register() x86/hvm: Reposition the modification of raw segment data from the VMCB/VMCS x86/emul: Avoid raising faults behind the emulators back x86/hvm: Extend the hvm_copy_*() API with a pagefault_info pointer x86/hvm: Reimplement hvm_copy_*_nofault() in terms of no pagefault_info x86/hvm: Rename hvm_copy_*_guest_virt() to hvm_copy_*_guest_linear() x86/hvm: Avoid __hvm_copy() raising #PF behind the emulators back x86/hvm: Prepare to allow use of system segments for memory references x86/hvm: Use system-segment relative memory accesses tools/tests/x86_emulator/test_x86_emulator.c | 1 + xen/arch/x86/hvm/emulate.c | 238 +++++++---------- xen/arch/x86/hvm/hvm.c | 366 +++++++++++++++++++-------- xen/arch/x86/hvm/io.c | 6 +- xen/arch/x86/hvm/ioreq.c | 2 +- xen/arch/x86/hvm/nestedhvm.c | 2 +- xen/arch/x86/hvm/svm/emulate.c | 4 +- xen/arch/x86/hvm/svm/nestedsvm.c | 13 +- xen/arch/x86/hvm/svm/svm.c | 102 ++++---- xen/arch/x86/hvm/vmx/intr.c | 2 +- xen/arch/x86/hvm/vmx/realmode.c | 18 +- xen/arch/x86/hvm/vmx/vmx.c | 107 ++++---- xen/arch/x86/hvm/vmx/vvmx.c | 44 ++-- xen/arch/x86/mm.c | 8 +- xen/arch/x86/mm/shadow/common.c | 29 ++- xen/arch/x86/mm/shadow/multi.c | 4 +- xen/arch/x86/x86_emulate/x86_emulate.c | 328 +++++++++++++----------- xen/arch/x86/x86_emulate/x86_emulate.h | 149 +++++++++-- xen/include/asm-x86/desc.h | 6 + xen/include/asm-x86/hvm/emulate.h | 9 +- xen/include/asm-x86/hvm/hvm.h | 86 +++---- xen/include/asm-x86/hvm/support.h | 42 ++- xen/include/asm-x86/hvm/svm/nestedsvm.h | 6 +- xen/include/asm-x86/hvm/vcpu.h | 2 +- xen/include/asm-x86/hvm/vmx/vmx.h | 2 - xen/include/asm-x86/hvm/vmx/vvmx.h | 4 +- 26 files changed, 901 insertions(+), 679 deletions(-) -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |