[PATCH v1 0/6] nestedsvm: Misc fixes

Ross Lagerwall posted 6 patches 3 days, 21 hours ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20260526124027.573412-1-ross.lagerwall@citrix.com
xen/arch/x86/hvm/svm/intr.c      |  4 +--
xen/arch/x86/hvm/svm/nestedhvm.h |  1 +
xen/arch/x86/hvm/svm/nestedsvm.c | 60 ++++++++++++++++++++++++--------
xen/arch/x86/hvm/svm/svm.c       |  3 ++
xen/arch/x86/hvm/svm/svm.h       |  3 ++
xen/arch/x86/hvm/svm/vmcb.c      |  6 ++--
6 files changed, 57 insertions(+), 20 deletions(-)
[PATCH v1 0/6] nestedsvm: Misc fixes
Posted by Ross Lagerwall 3 days, 21 hours ago
Before this series, running Linux on Xen on Xen on a modern AMD
processor would lock up L1 shortly after L2 reached the bootloader.
Furthermore, L1's domain could not be destroyed.

After this series, repeating the same results in L2 crashing shortly
after it reaches the Linux kernel but L1 survives and its domain can be
properly destroyed. This is not great but is at least some small amount
of progress.

Thanks,
Ross

Ross Lagerwall (6):
  nestedsvm: Fix CR3 MBZ check
  nestedsvm: Adjust L2's DR intercept when adjusting L1
  nestedsvm: Use the correct VMCB for vGIF
  nestedsvm: Set GIF during VMRUN if vGIF is enabled
  nestedsvm: Fix deferred event injection
  nestedsvm: Allow destroying the domain fully

 xen/arch/x86/hvm/svm/intr.c      |  4 +--
 xen/arch/x86/hvm/svm/nestedhvm.h |  1 +
 xen/arch/x86/hvm/svm/nestedsvm.c | 60 ++++++++++++++++++++++++--------
 xen/arch/x86/hvm/svm/svm.c       |  3 ++
 xen/arch/x86/hvm/svm/svm.h       |  3 ++
 xen/arch/x86/hvm/svm/vmcb.c      |  6 ++--
 6 files changed, 57 insertions(+), 20 deletions(-)

-- 
2.53.0