Skip to content

nestedsvm: Misc fixes

Ross Lagerwall xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6nestedsvm: Fix CR3 MBZ checkxen/arch/x86/hvm/svm/vmcb.c+2 -44 replies
2/6nestedsvm: Adjust L2's DR intercept when adjusting L1xen/arch/x86/hvm/svm/svm.c+2 -01 reply
3/6nestedsvm: Use the correct VMCB for vGIFxen/arch/x86/hvm/svm/nestedsvm.c+8 -60 replies
4/6nestedsvm: Set GIF during VMRUN if vGIF is enabledxen/arch/x86/hvm/svm/nestedsvm.c+7 -20 replies
5/6nestedsvm: Fix deferred event injectionxen/arch/x86/hvm/svm/intr.c xen/arch/x86/hvm/svm/nestedsvm.c xen/arch/x86/hvm/svm/svm.h+23 -62 replies
6/6nestedsvm: Allow destroying the domain fullyxen/arch/x86/hvm/svm/nestedhvm.h xen/arch/x86/hvm/svm/nestedsvm.c xen/arch/x86/hvm/svm/svm.c+15 -21 reply

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchJan Beulich
1/6
2/6
3/6
4/6
5/6
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/6] nestedsvm: Misc fixes

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(-)
Signature · 1 line
2.53.0