XSA-191 followup
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest5 of 24 patches 6 repliesIn review
- v324 patches 34 repliesSuperseded
- v219 patches 37 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 15 patches | 75 replies | Superseded |
5 of 24 patches are in this archive. The cover letter announces 24.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 9/24 | x86/emul: Provide a wrapper to x86_emulate() to ASSERT() certain behaviourtools/ tools/ xen/ +1 more | +33 | 1 reply | |
| 10/24 | x86/emul: Always use fault semantics for software eventsxen/ xen/ xen/ | +46 | 2 replies | |
| 11/24 | x86/emul: Implement singlestep as a retire flagxen/ xen/ xen/ +2 more | +54 | 1 reply | |
| 17/24 | x86/pv: Avoid raising faults behind the emulators backxen/ | +63 | 0 replies | |
| 18/24 | x86/shadow: Avoid raising faults behind the emulators backxen/ xen/ | +35 | 2 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Paul Durrant | Tim Deegan | Jan Beulich | Boris Ostrovsky |
|---|---|---|---|---|
| 9/24 | R-b | |||
| 10/24 | R-b | R-b | ||
| 11/24 | R-b | A-b | R-b | |
| 17/24 | A-b | R-b | ||
| 18/24 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v4 for-4.9 00/24] [SUBSET] XSA-191 followup
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 the final patch to avoid opencoding all of the segmenation logic.
Because this is a very long series and there are not many changes from v3, I am only sending out the patches which have changes, to avoid spamming the list.
Andrew Cooper (24):
x86/shadow: Fix #PFs from emulated writes crossing a page boundary x86/emul: Drop X86EMUL_CMPXCHG_FAILED
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/pv: Implement pv_inject_{event,page_fault,hw_exception}()
x86/emul: Clean up the naming of the retire union
x86/emul: Correct the behaviour of pop %ss and interrupt shadowing x86/emul: Provide a wrapper to x86_emulate() to ASSERT() certain behaviour x86/emul: Always use fault semantics for software events
x86/emul: Implement singlestep as a retire flag
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/pv: Avoid raising faults behind the emulators back
x86/shadow: 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/emul: Prepare to allow use of system segments for memory references x86/emul: Use system-segment relative memory accesses
tools/tests/x86_emulator/test_x86_emulator.c | 1 + tools/tests/x86_emulator/x86_emulate.c | 4 +- xen/arch/x86/hvm/emulate.c | 147 ++++------- xen/arch/x86/hvm/hvm.c | 370 +++++++++++++++++++-------- xen/arch/x86/hvm/io.c | 4 +- xen/arch/x86/hvm/nestedhvm.c | 2 +- xen/arch/x86/hvm/svm/nestedsvm.c | 13 +- xen/arch/x86/hvm/svm/svm.c | 156 +++++------ xen/arch/x86/hvm/vmx/intr.c | 2 +- xen/arch/x86/hvm/vmx/realmode.c | 16 +- xen/arch/x86/hvm/vmx/vmx.c | 109 ++++---- xen/arch/x86/hvm/vmx/vvmx.c | 44 ++-- xen/arch/x86/mm.c | 91 ++++++- xen/arch/x86/mm/shadow/common.c | 40 +-- xen/arch/x86/mm/shadow/multi.c | 71 ++++- xen/arch/x86/traps.c | 147 ++++++----- xen/arch/x86/x86_emulate/x86_emulate.c | 355 ++++++++++++++----------- xen/arch/x86/x86_emulate/x86_emulate.h | 221 +++++++++++++--- xen/include/asm-x86/desc.h | 6 + xen/include/asm-x86/domain.h | 26 ++ xen/include/asm-x86/hvm/emulate.h | 3 - 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 +- xen/include/asm-x86/mm.h | 1 - 28 files changed, 1209 insertions(+), 762 deletions(-)
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel