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