Skip to contentSkip to conversation

x86/nestedhvm: Fix #VMEXITs which L0 creates for L2 events

PATCH In review Stephen Cheng 2 participants 4 messages Nov 20

lore
Share & tools
lore
#0 lore raw

v2 cover x86/nestedhvm: Fix #VMEXITs which L0 creates for L2 events

When L0 handles an event of L2 itself, and L1 intercepts it, L0 creates the #VMEXIT to L1. Two parts of that #VMEXIT are wrong:

1. NextRIP is copied from an earlier hardware #VMEXIT.
2. An emulated INT $n is treated as exception n, so the software interrupt intercept is not checked. For some n, L1 is crashed with "Illegal exitcode".

Patch 1 was sent alone on 22 Oct (no replies); it is only rebased and reworded here. v1:
https://lore.kernel.org/xen-devel/[email protected]/

Patch 2 is new, and uses the NextRIP from patch 1 for INT $n, so I send them together.

Both were found with nested-SVM XTF tests using the forced emulation prefix, and tested on AMD EPYC. The VMX part of patch 2 is only build tested.

Not fixed here: an ICEBP in L2 which L0 handles (always for a native ICEBP, since Xen intercepts it, or when emulated) is checked against the #DB intercept instead of the ICEBP intercept (APM 15.12.2). I will send a fix separately.

v2:
- Rebased on current staging.
- Reworded patch 1's commit message.
- New patch 2.

Stephen Cheng (2):
x86/nestedsvm: Record NextRIP with the deferred #VMEXIT x86/nestedhvm: Don't treat an emulated INT $n as an exception

 xen/arch/x86/hvm/hvm.c                   |  3 +-
 xen/arch/x86/hvm/svm/nestedhvm.h         |  5 +-
 xen/arch/x86/hvm/svm/nestedsvm.c         | 60 ++++++++++++++++++++----
 xen/arch/x86/hvm/svm/svm.c               |  8 ++--
 xen/arch/x86/hvm/vmx/vmx.c               |  6 +--
 xen/arch/x86/hvm/vmx/vvmx.c              | 10 +++-
 xen/arch/x86/include/asm/hvm/hvm.h       |  8 ++--
 xen/arch/x86/include/asm/hvm/svm-types.h |  1 +
 xen/arch/x86/include/asm/hvm/vmx/vvmx.h  |  6 ++-
 9 files changed, 80 insertions(+), 27 deletions(-)

base-commit: 5b28c0efc1d5d73ce651ca651e103c45b6932f9d

Signature · 1 line
2.49.0
#1 lore raw

PATCH v2 1/2 x86/nestedsvm: Record NextRIP with the deferred #VMEXIT

nsvm_vmcb_prepare4vmexit() copies NextRIP from the hardware #VMEXIT, but L0 also delivers #VMEXITs it creates itself, for which that value belongs to a different exit. L1 should see the NextRIP which the APM defines for the #VMEXIT it gets: zero for most of them, such as an exception or an interrupt, and the next RIP for an intercepted instruction or INT3/INTO (AMD64 APM vol 2, publication 24593 rev 3.44, section 15.7.1). For example:

1. L1 intercepts #GP but not MSR accesses.
2. L2 executes RDMSR of an MSR which Xen doesn't implement.
3. Hardware exits to L0 with VMEXIT_MSR and NextRIP after the RDMSR.
4. L0 handles the RDMSR itself and injects #GP into L2.
5. L1 intercepts #GP, so L0 delivers VMEXIT_EXCEPTION_GP to L1.
6. L1 sees NextRIP after the RDMSR, instead of 0.

Record NextRIP in ns_vmexit alongside the exitcode and exitinfo, and have each source of a #VMEXIT supply it: the hardware value for a reflected #VMEXIT, the next RIP for an INT3/INTO which L0 emulated, and zero for everything else, including a failed VMRUN.

Fixes 9a779e4fc161 ("Implement SVM specific part for Nested Virtualization")
Assisted-by Claude:claude-opus-5-5

---
v2:
- Rebased on current staging (struct vmcb_struct is now struct vmcb).
- Reworded the commit message: a #VMEXIT which L0 creates does not always have NextRIP 0.

This is the #VMEXIT counterpart of commit 9d6b6e4f7394 ("x86/svm: Sync nextrip during virtual VMRUN").

BOUND's #BR is raised by the emulator as a plain hardware exception without an instruction length, so it still reports 0 rather than the next RIP.

 xen/arch/x86/hvm/svm/nestedhvm.h         |  3 ++-
 xen/arch/x86/hvm/svm/nestedsvm.c         | 32 ++++++++++++++++++++----
 xen/arch/x86/hvm/svm/svm.c               |  8 +++---
 xen/arch/x86/include/asm/hvm/svm-types.h |  1 +
 4 files changed, 35 insertions(+), 9 deletions(-)
xen/arch/x86/hvm/svm/nestedhvm.h +2 -1
index 9bb04a04343..963390e8a99 100644
@@ -28,7 +28,8 @@
 
 int nestedsvm_vmcb_map(struct vcpu *v, uint64_t vmcbaddr);
 void nestedsvm_vmexit_defer(struct vcpu *v,
-    uint64_t exitcode, uint64_t exitinfo1, uint64_t exitinfo2);
+    uint64_t exitcode, uint64_t exitinfo1, uint64_t exitinfo2,
+    uint64_t nextrip);
 enum nestedhvm_vmexits
 nestedsvm_vmexit_n2n1(struct vcpu *v, struct cpu_user_regs *regs);
 enum nestedhvm_vmexits
xen/arch/x86/hvm/svm/nestedsvm.c +27 -5
index 366178ff54a..70ef50eb845 100644
@@ -154,6 +154,7 @@ int cf_check nsvm_vcpu_reset(struct vcpu *v)
     svm->ns_hostflags.raw = 0;
     svm->ns_vmexit.exitinfo1 = 0;
     svm->ns_vmexit.exitinfo2 = 0;
+    svm->ns_vmexit.nextrip = 0;
 
     svm->ns_iomap = NULL;
 
@@ -674,6 +675,7 @@ nsvm_vcpu_vmrun(struct vcpu *v, struct cpu_user_regs *regs)
     if ( inst_len == 0 )
     {
         svm->ns_vmexit.exitcode = VMEXIT_SHUTDOWN;
+        svm->ns_vmexit.nextrip = 0;
         return -1;
     }
 
@@ -695,6 +697,7 @@ nsvm_vcpu_vmrun(struct vcpu *v, struct cpu_user_regs *regs)
     case NSVM_ERROR_VVMCB:
         gdprintk(XENLOG_ERR, "inject VMEXIT(INVALID)\n");
         svm->ns_vmexit.exitcode = VMEXIT_INVALID;
+        svm->ns_vmexit.nextrip = 0;
         return -1;
     case NSVM_ERROR_VMENTRY:
     default:
@@ -758,6 +761,7 @@ nsvm_vcpu_vmexit_inject(struct vcpu *v, struct cpu_user_regs *regs,
     }
 
     ns_vmcb->exitcode = exitcode;
+    ns_vmcb->nextrip = svm->ns_vmexit.nextrip;
     ns_vmcb->event_inj.raw = 0;
     return 0;
 }
@@ -765,10 +769,26 @@ nsvm_vcpu_vmexit_inject(struct vcpu *v, struct cpu_user_regs *regs,
 int cf_check nsvm_vcpu_vmexit_event(
     struct vcpu *v, const struct x86_event *event)
 {
+    const struct vmcb *vmcb = v->arch.hvm.svm.vmcb;
+    uint64_t nextrip = 0;
+
     ASSERT(vcpu_nestedhvm(v).nv_vvmcx != NULL);
 
+    /*
+     * An exception intercept saves NextRIP only for INT3, INTO and BOUND
+     * (AMD APM vol 2 rev 3.44, 15.7.1).  The emulator raises BOUND's #BR as
+     * a plain hardware exception, so only INT3/INTO can be recognised here.
+     * As in svm_inject_event(), truncate it outside of 64bit mode.
+     */
+    if ( event->type == X86_ET_SW_EXC )
+    {
+        nextrip = guest_cpu_user_regs()->rip + event->insn_len;
+        if ( !((vmcb_get_efer(vmcb) & EFER_LMA) && vmcb->cs.l) )
+            nextrip = (uint32_t)nextrip;
+    }
+
     nestedsvm_vmexit_defer(v, VMEXIT_EXCEPTION_DE + event->vector,
-                           event->error_code, event->data);
+                           event->error_code, event->data, nextrip);
     return NESTEDHVM_VMEXIT_DONE;
 }
 
@@ -1036,8 +1056,7 @@ nsvm_vmcb_prepare4vmexit(struct vcpu *v, struct cpu_user_regs *regs)
 
     /* LBR virtualization - keep lbr control as is */
 
-    /* NextRIP */
-    ns_vmcb->nextrip = n2vmcb->nextrip;
+    /* NextRIP is set by nsvm_vcpu_vmexit_inject(). */
 
     /* Decode Assist */
     ns_vmcb->guest_ins_len = n2vmcb->guest_ins_len;
@@ -1191,7 +1210,8 @@ enum hvm_intblk cf_check nsvm_intr_blocked(struct vcpu *v)
 /* VMEXIT emulation */
 void
 nestedsvm_vmexit_defer(struct vcpu *v,
-    uint64_t exitcode, uint64_t exitinfo1, uint64_t exitinfo2)
+    uint64_t exitcode, uint64_t exitinfo1, uint64_t exitinfo2,
+    uint64_t nextrip)
 {
     struct nestedsvm *svm = &vcpu_nestedsvm(v);
     struct vmcb *vmcb = v->arch.hvm.svm.vmcb;
@@ -1204,6 +1224,7 @@ nestedsvm_vmexit_defer(struct vcpu *v,
     svm->ns_vmexit.exitcode = exitcode;
     svm->ns_vmexit.exitinfo1 = exitinfo1;
     svm->ns_vmexit.exitinfo2 = exitinfo2;
+    svm->ns_vmexit.nextrip = nextrip;
     vcpu_nestedhvm(v).nv_vmexit_pending = 1;
 }
 
@@ -1326,6 +1347,7 @@ nestedsvm_vcpu_vmexit(struct vcpu *v, struct cpu_user_regs *regs,
 
         case NESTEDHVM_VMEXIT_ERROR:
             exitcode = VMEXIT_INVALID;
+            vcpu_nestedsvm(v).ns_vmexit.nextrip = 0;
             break;
         default:
             ASSERT(!nestedhvm_vcpu_in_guestmode(v));
@@ -1445,7 +1467,7 @@ nestedsvm_vcpu_interrupt(struct vcpu *v, const struct hvm_intack intack)
                                      guest_cpu_user_regs(), exitcode);
     if ( ret )
     {
-        nestedsvm_vmexit_defer(v, exitcode, intack.source, exitinfo2);
+        nestedsvm_vmexit_defer(v, exitcode, intack.source, exitinfo2, 0);
         return NSVM_INTR_FORCEVMEXIT;
     }
 
xen/arch/x86/hvm/svm/svm.c +5 -3
index bfca1eda4af..8b1ae241d46 100644
@@ -1621,7 +1621,7 @@ static void svm_do_nested_pgfault(struct vcpu *v,
     case -1:
         ASSERT(nestedhvm_enabled(v->domain) && nestedhvm_vcpu_in_guestmode(v));
         /* inject #VMEXIT(NPF) into guest. */
-        nestedsvm_vmexit_defer(v, VMEXIT_NPF, pfec, gpa);
+        nestedsvm_vmexit_defer(v, VMEXIT_NPF, pfec, gpa, 0);
         return;
     }
 
@@ -2564,7 +2564,7 @@ void asmlinkage svm_vmexit_handler(void)
         enum nestedhvm_vmexits nsret;
         struct nestedvcpu *nv = &vcpu_nestedhvm(v);
         struct vmcb *ns_vmcb = nv->nv_vvmcx;
-        uint64_t exitinfo1, exitinfo2;
+        uint64_t exitinfo1, exitinfo2, nextrip;
 
         paging_update_nestedmode(v);
 
@@ -2589,6 +2589,7 @@ void asmlinkage svm_vmexit_handler(void)
              */
             exitinfo1 = vmcb->exitinfo1;
             exitinfo2 = vmcb->exitinfo2;
+            nextrip = vmcb->nextrip;
             nv->nv_vmswitch_in_progress = 1;
             nsret = nestedsvm_vmexit_n2n1(v, regs);
             nv->nv_vmswitch_in_progress = 0;
@@ -2596,7 +2597,8 @@ void asmlinkage svm_vmexit_handler(void)
             {
             case NESTEDHVM_VMEXIT_DONE:
                 /* defer VMEXIT injection */
-                nestedsvm_vmexit_defer(v, exit_reason, exitinfo1, exitinfo2);
+                nestedsvm_vmexit_defer(v, exit_reason, exitinfo1, exitinfo2,
+                                       nextrip);
                 goto out;
             case NESTEDHVM_VMEXIT_FATALERROR:
                 gdprintk(XENLOG_ERR, "unexpected nestedsvm_vmexit() error\n");
xen/arch/x86/include/asm/hvm/svm-types.h +1 -0
index 3475ed6a06d..81b997a15f7 100644
@@ -74,6 +74,7 @@ struct nestedsvm {
         uint64_t exitcode;  /* native exitcode to inject into l1 guest */
         uint64_t exitinfo1; /* additional information to the exitcode */
         uint64_t exitinfo2; /* additional information to the exitcode */
+        uint64_t nextrip;   /* NextRIP to report to the l1 guest */
     } ns_vmexit;
 
     union {
Signature · 1 line
2.49.0
#2 lore raw

PATCH v2 2/2 x86/nestedhvm: Don't treat an emulated INT $n as an exception

In reply to Stephen Cheng

hvm_inject_event() asks whether L1 intercepts an event raised in L2, but passes the hook only the vector and error code, so an emulated INT $n is checked as if it were exception n.

On SVM, L1's intercept for exception n is checked instead of its software interrupt intercept (INTn in the APM), and the #VMEXIT is VMEXIT_EXCEPTION_DE + n instead of VMEXIT_SWINT. If L1 intercepts that exit code, it gets an exception exit for n < 0x14 and an unrelated exit for n in 0x20-0x4d. For other n, L1 is crashed with "Illegal exitcode". On VMX, where INT $n cannot cause a VM exit, n < 32 is checked against the exception bitmap and larger n hits ASSERT(vector < 32).

Pass the whole event to the hook. On SVM, check INT $n against the software interrupt intercept and exit with VMEXIT_SWINT, EXITINFO1 = n and NextRIP after the instruction (AMD64 APM vol 2, publication 24593 rev 3.44, sections 15.7.1, 15.8.2 and 15.12). On VMX, never intercept INT $n (Intel SDM 325462-092US vol 3C, section 28.2).

Fixes 9a779e4fc161 ("Implement SVM specific part for Nested Virtualization")
Fixes 479d4619fd5b ("Nested VMX: interrupt/exception handling for n2 guest")
Assisted-by Claude:claude-opus-5-5

---
v2:
- New patch.

Tested on AMD with an XTF test which runs INT $0x00, $0x03 and $0x80 in L2 with each combination of the software interrupt and exception intercepts, natively and with the forced emulation prefix. The emulated results now match the native ones, including EXITINFO1 and NextRIP. INT $0x80 no longer crashes L1.

About the Fixes: tags: the two commits added the check which this patch changes. At that time it was not wrong, because Xen injected an emulated INT $n as exception n for every guest. It became wrong with commit ecf5678200a ("x86/hvm: don't discard the SW/HW event distinction from the emulator"), which made normal event injection keep the event type, but did not change the nested check. I can use

Fixes ecf5678200a instead, if that is preferred.
 xen/arch/x86/hvm/hvm.c                  |  3 +-
 xen/arch/x86/hvm/svm/nestedhvm.h        |  2 +-
 xen/arch/x86/hvm/svm/nestedsvm.c        | 42 ++++++++++++++++++-------
 xen/arch/x86/hvm/vmx/vmx.c              |  6 ++--
 xen/arch/x86/hvm/vmx/vvmx.c             | 10 ++++--
 xen/arch/x86/include/asm/hvm/hvm.h      |  8 ++---
 xen/arch/x86/include/asm/hvm/vmx/vvmx.h |  6 ++--
 7 files changed, 52 insertions(+), 25 deletions(-)
xen/arch/x86/hvm/hvm.c +1 -2
index 4334ff678d3..863c3666d25 100644
@@ -1774,8 +1774,7 @@ void hvm_inject_event(const struct x86_event *event)
     if ( nestedhvm_enabled(curr->domain) &&
          !nestedhvm_vmswitch_in_progress(curr) &&
          nestedhvm_vcpu_in_guestmode(curr) &&
-         nhvm_vmcx_guest_intercepts_event(
-             curr, event->vector, event->error_code) )
+         nhvm_vmcx_guest_intercepts_event(curr, event) )
     {
         enum nestedhvm_vmexits nsret;
 
xen/arch/x86/hvm/svm/nestedhvm.h +1 -1
index 963390e8a99..a45694457b9 100644
@@ -46,7 +46,7 @@ int cf_check nsvm_vcpu_vmexit_event(struct vcpu *v,
                                     const struct x86_event *event);
 uint64_t cf_check nsvm_vcpu_hostcr3(struct vcpu *v);
 bool cf_check nsvm_vmcb_guest_intercepts_event(
-    struct vcpu *v, unsigned int vector, int errcode);
+    struct vcpu *v, const struct x86_event *event);
 bool cf_check nsvm_vmcb_hap_enabled(struct vcpu *v);
 enum hvm_intblk cf_check nsvm_intr_blocked(struct vcpu *v);
 void cf_check nsvm_domain_relinquish_resources(struct domain *d);
xen/arch/x86/hvm/svm/nestedsvm.c +31 -11

76 lines not on this page · raw message

xen/arch/x86/hvm/vmx/vmx.c +3 -3
index 3c7374a9ff4..2a760e9d161 100644
@@ -2083,7 +2083,7 @@ static void cf_check vmx_inject_event(const struct x86_event *event)
             write_debugreg(6, read_debugreg(6) | DR_STEP);
         }
         if ( !nestedhvm_vcpu_in_guestmode(curr) ||
-             !nvmx_intercepts_exception(curr, X86_EXC_DB, _event.error_code) )
+             !nvmx_intercepts_event(curr, &_event) )
         {
             unsigned long val;
 
@@ -2128,7 +2128,7 @@ static void cf_check vmx_inject_event(const struct x86_event *event)
         __vmwrite(VM_ENTRY_INSTRUCTION_LEN, _event.insn_len);
 
     if ( nestedhvm_vcpu_in_guestmode(curr) &&
-         nvmx_intercepts_exception(curr, _event.vector, _event.error_code) )
+         nvmx_intercepts_event(curr, &_event) )
     {
         nvmx_enqueue_n2_exceptions (curr, 
             INTR_INFO_VALID_MASK |
@@ -2886,7 +2886,7 @@ static struct hvm_function_table __initdata_cf_clobber vmx_function_table = {
     .nhvm_vcpu_reset      = nvmx_vcpu_reset,
     .nhvm_vcpu_p2m_base   = nvmx_vcpu_eptp_base,
     .nhvm_vmcx_hap_enabled = nvmx_ept_enabled,
-    .nhvm_vmcx_guest_intercepts_event = nvmx_intercepts_exception,
+    .nhvm_vmcx_guest_intercepts_event = nvmx_intercepts_event,
     .nhvm_vcpu_vmexit_event = nvmx_vmexit_event,
     .nhvm_intr_blocked    = nvmx_intr_blocked,
     .nhvm_domain_relinquish_resources = nvmx_domain_relinquish_resources,
xen/arch/x86/hvm/vmx/vvmx.c +8 -2
index 29e48387a11..2f1788d1737 100644
@@ -506,12 +506,18 @@ static void vmfail(struct cpu_user_regs *regs, enum vmx_insn_errno errno)
         vmfail_invalid(regs);
 }
 
-bool cf_check nvmx_intercepts_exception(
-    struct vcpu *v, unsigned int vector, int error_code)
+bool cf_check nvmx_intercepts_event(
+    struct vcpu *v, const struct x86_event *event)
 {
+    const unsigned int vector = event->vector;
+    const int error_code = event->error_code;
     u32 exception_bitmap, pfec_match=0, pfec_mask=0;
     int r;
 
+    /* INT $n is not an exception, and is never in the exception bitmap. */
+    if ( event->type == X86_ET_SW_INT )
+        return false;
+
     ASSERT(vector < 32);
 
     exception_bitmap = get_vvmcs(v, EXCEPTION_BITMAP);
xen/arch/x86/include/asm/hvm/hvm.h +4 -4
index 9bf2064925f..0168d85f733 100644
@@ -206,7 +206,7 @@ struct hvm_function_table {
     int (*nhvm_vcpu_vmexit_event)(struct vcpu *v, const struct x86_event *event);
     uint64_t (*nhvm_vcpu_p2m_base)(struct vcpu *v);
     bool (*nhvm_vmcx_guest_intercepts_event)(
-        struct vcpu *v, unsigned int vector, int errcode);
+        struct vcpu *v, const struct x86_event *event);
 
     bool (*nhvm_vmcx_hap_enabled)(struct vcpu *v);
 
@@ -663,12 +663,12 @@ static inline uint64_t nhvm_vcpu_p2m_base(struct vcpu *v)
     return alternative_call(hvm_funcs.nhvm_vcpu_p2m_base, v);
 }
 
-/* returns true, when l1 guest intercepts the specified trap */
+/* returns true, when l1 guest intercepts the specified event */
 static inline bool nhvm_vmcx_guest_intercepts_event(
-    struct vcpu *v, unsigned int vector, int errcode)
+    struct vcpu *v, const struct x86_event *event)
 {
     return alternative_call(hvm_funcs.nhvm_vmcx_guest_intercepts_event, v,
-                            vector, errcode);
+                            event);
 }
 
 /* returns true when l1 guest wants to use hap to run l2 guest */
xen/arch/x86/include/asm/hvm/vmx/vvmx.h +4 -2
index da10d3fa961..ec725dcc71b 100644
@@ -11,6 +11,8 @@
 #ifndef __ASM_X86_HVM_VVMX_H__
 #define __ASM_X86_HVM_VVMX_H__
 
+struct x86_event;
+
 struct vvmcs_list {
     unsigned long vvmcs_mfn;
     struct list_head node;
@@ -78,8 +80,8 @@ void cf_check nvmx_vcpu_destroy(struct vcpu *v);
 int cf_check nvmx_vcpu_reset(struct vcpu *v);
 uint64_t cf_check nvmx_vcpu_eptp_base(struct vcpu *v);
 enum hvm_intblk cf_check nvmx_intr_blocked(struct vcpu *v);
-bool cf_check nvmx_intercepts_exception(
-    struct vcpu *v, unsigned int vector, int error_code);
+bool cf_check nvmx_intercepts_event(
+    struct vcpu *v, const struct x86_event *event);
 void cf_check nvmx_domain_relinquish_resources(struct domain *d);
 
 bool cf_check nvmx_ept_enabled(struct vcpu *v);
Signature · 1 line
2.49.0
#3 lore raw
In reply to Stephen Cheng
Quoted 45 lines · Stephen Cheng

When L0 handles an event of L2 itself, and L1 intercepts it, L0 creates the #VMEXIT to L1. Two parts of that #VMEXIT are wrong:

1. NextRIP is copied from an earlier hardware #VMEXIT.
2. An emulated INT $n is treated as exception n, so the software interrupt intercept is not checked. For some n, L1 is crashed with "Illegal exitcode".

Patch 1 was sent alone on 22 Oct (no replies); it is only rebased and reworded here. v1:
https://lore.kernel.org/xen-devel/[email protected]/

Patch 2 is new, and uses the NextRIP from patch 1 for INT $n, so I send them together.

Both were found with nested-SVM XTF tests using the forced emulation prefix, and tested on AMD EPYC. The VMX part of patch 2 is only build tested.

Not fixed here: an ICEBP in L2 which L0 handles (always for a native ICEBP, since Xen intercepts it, or when emulated) is checked against the #DB intercept instead of the ICEBP intercept (APM 15.12.2). I will send a fix separately.

v2:
- Rebased on current staging.
- Reworded patch 1's commit message.
- New patch 2.

Stephen Cheng (2):
x86/nestedsvm: Record NextRIP with the deferred #VMEXIT x86/nestedhvm: Don't treat an emulated INT $n as an exception

  xen/arch/x86/hvm/hvm.c                   |  3 +-
  xen/arch/x86/hvm/svm/nestedhvm.h         |  5 +-
  xen/arch/x86/hvm/svm/nestedsvm.c         | 60 ++++++++++++++++++++----
  xen/arch/x86/hvm/svm/svm.c               |  8 ++--
  xen/arch/x86/hvm/vmx/vmx.c               |  6 +--
  xen/arch/x86/hvm/vmx/vvmx.c              | 10 +++-
  xen/arch/x86/include/asm/hvm/hvm.h       |  8 ++--
  xen/arch/x86/include/asm/hvm/svm-types.h |  1 +
  xen/arch/x86/include/asm/hvm/vmx/vvmx.h  |  6 ++-
  9 files changed, 80 insertions(+), 27 deletions(-)
Quoted 1 line

base-commit: 5b28c0efc1d5d73ce651ca651e103c45b6932f9d

This mostly changes VMEXIT handling.
I think the plan is for the rework of VMRUN and VMEXIT to go in first. Hopefully that resolves several issues but any further bugfixes should be rebased on top of it and go in afterwards.

Ross