[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/vmx: Fix injection of #DB traps following XSA-156



> From: Andrew Cooper [mailto:andrew.cooper3@xxxxxxxxxx]
> Sent: Monday, January 04, 2016 6:00 PM
> 
> Most #DB exceptions are traps rather than faults, meaning that the instruction
> pointer in the exception frame points after the instruction rather than at it.
> 
> However, VMX intercepts all have fault semantics, even when intercepting a
> trap.  Re-injecting an intercepted trap as a fault causes an infinite loop in
> the guest, by re-executing the same trapping instruction repeatedly.  This
> breaks debugging inside the guest.
> 
> Introduce a helper which copies VM_EXIT_INTR_INTO to VM_ENTRY_INTR_INFO, and
> use it to mirror the intercepted interrupt back to the guest.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Acked-by: Kevin Tian <kevin.tian@xxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.