Skip to content

Misc changes for few VMCB bits

Vaishali Thakkar xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v23 patches 10 repliesSuperseded
  3. v12 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Use VMCB accessors instead of open coding in patch 1 & 2
- Fix one remaining instance of using false/true instead of

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/svm: Drop the _enabled suffix from vmcb bitsxen/arch/x86/hvm/svm/nestedsvm.c xen/arch/x86/hvm/svm/svm.c xen/arch/x86/hvm/svm/vmcb.c +1 more+19 -190 replies
2/3x86/svm: Drop the suffix _guest from vmcb bitxen/arch/x86/hvm/svm/asid.c xen/arch/x86/hvm/svm/nestedsvm.c xen/arch/x86/hvm/svm/svmdebug.c +2 more+13 -132 replies
3/3x86/svmdebug: Print np, sev and sev_es vmcb bitsxen/arch/x86/hvm/svm/svmdebug.c+5 -21 reply

Reviews trailers per patch

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

PatchAndrew CooperJan Beulich
1/3R-b
2/3R-b
3/3A-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] Misc changes for few VMCB bits

Hi,

In this patchset, first & second patch removes the unnecessary suffix from a bunch of vmcb bits. Third patch is about printing the status of sev and sev-es bits while dumping VMCB.

Changes since v1:
- Address comments from Andrew and Jan
- Add extrapatch to drop the suffix _guest as per Andrew's suggestion in one of the reviews
- Address Andrew's comment with respect to pretty printing

Changes since v2:
- Use VMCB accessors instead of open coding in patch 1 & 2
- Fix one remaining instance of using false/true instead of

    0/1 in patch 2

- Improve the pretty printing in svm-debug based on Jan's comments
- Improve commit logs and the subject of patch 3 to include the changes done in v3

Vaishali Thakkar (3):
x86/svm: Drop the _enabled suffix from vmcb bits x86/svm: Drop the suffix _guest from vmcb bit x86/svmdebug: Print np, sev and sev_es vmcb bits

 xen/arch/x86/hvm/svm/asid.c                  |  6 ++---
 xen/arch/x86/hvm/svm/nestedsvm.c             | 22 ++++++++---------
 xen/arch/x86/hvm/svm/svm.c                   |  2 +-
 xen/arch/x86/hvm/svm/svmdebug.c              |  7 ++++--
 xen/arch/x86/hvm/svm/vmcb.c                  |  2 +-
 xen/arch/x86/include/asm/hvm/svm/nestedsvm.h |  2 +-
 xen/arch/x86/include/asm/hvm/svm/vmcb.h      | 26 ++++++++++----------
 7 files changed, 35 insertions(+), 32 deletions(-)
Signature · 1 line
2.44.0