Skip to content

igvm: handle optional directives

Luigi Leonardi qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20260525-igvm_optional-ca1592b613be

Versions newest first

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 5 repliesSuperseded

Changes in v2 from the cover letter

- Introduced two helpers: one to mask and one to check if the optional
bit is set
- Protected IGVM_VHT_OPTIONAL_BIT using ifndef as it has been defined
in the IGVM repo https://github.com/microsoft/igvm/pull/121
- Rebased to latest upstream
- Link to v1: https://lore.kernel.org/qemu-devel/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2igvm: replace raw uint32_t with igvm library typesbackends/igvm.c+3 -31 reply
2/2igvm: fix handling of optional variable header typesbackends/igvm.c+33 -40 replies

Reviews trailers per patch

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

PatchStefano GarzarellaAni SinhaPhilippe Mathieu-Daudé
1/2R-b R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] igvm: handle optional directives

This series fixes the handling for optional directives, that are defined by the igvm spec. Currently, because the optional bit is not masked, any directive is rejected as unrecognized.

I opened a PR to export the optional bit in the igvm repository and it has been merged. (https://github.com/microsoft/igvm/pull/121)

I'm picking up igvm: replace raw uint32_t with igvm library types [1] as there is a conflict on the qigvm_handler signature between the two patches.

[1] https://lore.kernel.org/qemu-devel/[email protected]

---
Changes in v2:
- Introduced two helpers: one to mask and one to check if the optional
bit is set
- Protected IGVM_VHT_OPTIONAL_BIT using ifndef as it has been defined
in the IGVM repo https://github.com/microsoft/igvm/pull/121
- Rebased to latest upstream
- Link to v1: https://lore.kernel.org/qemu-devel/[email protected]

---
Luigi Leonardi (2):
igvm: replace raw uint32_t with igvm library types
igvm: fix handling of optional variable header types

 backends/igvm.c | 41 +++++++++++++++++++++++++++++++++++------
 1 file changed, 35 insertions(+), 6 deletions(-)

---
base-commit: cc329c491768b2d91eb0b0984f3baa0bf805776d
change-id: 20260525-igvm_optional-ca1592b613be

Best regards,

Signature · 1 line
Luigi Leonardi <[email protected]>