Skip to content

make nested virtualization support optional

Sergiy Kibrik xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86:svm: use nsvm_efer_svm_enabled() to check guest's EFER.SVMExen/arch/x86/hvm/svm/nestedsvm.c xen/arch/x86/hvm/svm/svm.c+2 -21 reply
2/4x86:svm: rename svm/nestedhvm.h -> svm/nestedsvm.hxen/arch/x86/hvm/svm/intr.c xen/arch/x86/hvm/svm/nestedsvm.h xen/arch/x86/hvm/svm/svm.c+2 -21 reply
3/4x86:hvm: guard calls to nestedhvm routinesxen/arch/x86/hvm/hvm.c xen/arch/x86/hvm/svm/asid.c xen/arch/x86/hvm/svm/svm.c+8 -61 reply
4/4x86:hvm: make nestedhvm support optionalxen/arch/x86/Kconfig xen/arch/x86/hvm/Makefile xen/arch/x86/hvm/svm/Makefile +7 more+39 -82 replies

Reviews trailers per patch

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

PatchJan Beulich
1/4A-b
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [XEN PATCH v1 0/4] make nested virtualization support optional

Here're a couple of patches that introduce a Kconfig control for user to be able to remove nested HVM code from the build and hence to tune their system in case nested VMs aren't required.

The first two patches are minor fixes and not directly related to nested HVM, but since they also modify the same code I've decided to include them too.

-Sergiy

Sergiy Kibrik (4):
x86:svm: use nsvm_efer_svm_enabled() to check guest's EFER.SVME x86:svm: rename svm/nestedhvm.h -> svm/nestedsvm.h x86:hvm: guard calls to nestedhvm routines
x86:hvm: make nestedhvm support optional

 xen/arch/x86/Kconfig                              |  5 +++++
 xen/arch/x86/hvm/Makefile                         |  2 +-
 xen/arch/x86/hvm/hvm.c                            |  6 ++++--
 xen/arch/x86/hvm/svm/Makefile                     |  2 +-
 xen/arch/x86/hvm/svm/asid.c                       |  2 +-
 xen/arch/x86/hvm/svm/entry.S                      |  2 ++
 xen/arch/x86/hvm/svm/intr.c                       |  2 +-
 xen/arch/x86/hvm/svm/nestedsvm.c                  |  2 +-
 xen/arch/x86/hvm/svm/{nestedhvm.h => nestedsvm.h} |  0
 xen/arch/x86/hvm/svm/svm.c                        | 14 +++++++++-----
 xen/arch/x86/hvm/vmx/Makefile                     |  2 +-
 xen/arch/x86/hvm/vmx/entry.S                      |  2 ++
 xen/arch/x86/hvm/vmx/vmcs.c                       |  8 +++++---
 xen/arch/x86/hvm/vmx/vmx.c                        | 10 +++++++++-
 xen/arch/x86/include/asm/hvm/nestedhvm.h          | 10 +++++++++-
 15 files changed, 51 insertions(+), 18 deletions(-)
 rename xen/arch/x86/hvm/svm/{nestedhvm.h => nestedsvm.h} (100%)
Signature · 1 line
2.25.1