Skip to content

AMD Nested Virt Preparation

George Dunlap xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 8 repliesIn review
  2. v16 patches 26 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86: Move SVM features exposed to guest into hvm_max_cpu_policyxen/arch/x86/cpu-policy.c+17 -131 reply
2/3nestedsvm: Disable TscRateMSRxen/arch/x86/cpu-policy.c xen/arch/x86/hvm/svm/nestedsvm.c xen/arch/x86/hvm/svm/svm.c +1 more+1 -661 reply
3/3svm/nestedsvm: Introduce nested capabilities bitdocs/designs/nested-svm-cpu-features.md xen/arch/x86/domain.c xen/arch/x86/hvm/nestedhvm.c +4 more+168 -16 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

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

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

Read the v2 thread

Cover letter [PATCH v2 0/3] AMD Nested Virt Preparation

This series lays the groundwork for revamp of the AMD nested virt functionality. The first two patches are clean-ups or reorganizations of existing code. The final patch is the first major step towards making the feature supportable: allowing Xen to refuse nested virt support if certain hardware features are not present.

George Dunlap (3):
x86: Move SVM features exposed to guest into hvm_max_cpu_policy
nestedsvm: Disable TscRateMSR
svm/nestedsvm: Introduce nested capabilities bit

 docs/designs/nested-svm-cpu-features.md      | 111 +++++++++++++++++++
 xen/arch/x86/cpu-policy.c                    |  29 ++---
 xen/arch/x86/domain.c                        |   6 +
 xen/arch/x86/hvm/nestedhvm.c                 |  10 ++
 xen/arch/x86/hvm/svm/nestedsvm.c             |  16 ++-
 xen/arch/x86/hvm/svm/svm.c                   |  57 ----------
 xen/arch/x86/hvm/vmx/vvmx.c                  |   8 ++
 xen/arch/x86/include/asm/hvm/hvm.h           |  16 ++-
 xen/arch/x86/include/asm/hvm/nestedhvm.h     |   4 +
 xen/arch/x86/include/asm/hvm/svm/nestedsvm.h |   5 -
 10 files changed, 184 insertions(+), 78 deletions(-)
 create mode 100644 docs/designs/nested-svm-cpu-features.md
Signature · 1 line
2.25.1