igvm: fix byte_offset handling in parameter directives
Get series with b4
b4 am [email protected] change-id 20260902-fix_offset-a268cb12aafcVersions newest first
- v5 Latest2 patches 4 repliesIn review
- v41 patch 1 replySuperseded
- v32 patches 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 2 patches | 2 replies | Superseded | |
| v1 | 2 patches | 2 replies | Superseded |
Changes in v5 from the cover letter
- Marked qigvm_find_param_entry as static [Stefano]
- Improved commit message [Stefano]
- Link to v4: https://lore.kernel.org/qemu-devel/[email protected]
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | igvm: validate and honor byte_offset in parameter directivesbackends/ include/ target/ | +77 | 3 replies | |
| 2/2 | igvm: mark qigvm_find_param_entry as staticbackends/ include/ | +1 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Stefano Garzarella |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/2] igvm: fix byte_offset handling in parameter directives
IGVM directives _can_ place their data at a byte_offset within a shared parameter area, letting multiple parameters be packed into one area.
This offset was either ignored entirely or used without first checking it.
Patch 1 introduces checks and honors the offset. Patch 2 cleanup patch (marks one function as static).
More details in commit messages.
---
Changes in v5:
- Marked qigvm_find_param_entry as static [Stefano]
- Improved commit message [Stefano]
- Link to v4: https://lore.kernel.org/qemu-devel/[email protected]
Changes in v4:
- Squashed two commits in one.
- Removed one parameter from qigvm_get_param_data [Stefano]
- Removed some useless variables [Stefano]
- Rebased to latest upstream
- Link to v3: https://lore.kernel.org/qemu-devel/[email protected]
Changes in v3:
- Renamed the function to qigvm_get_param_data. [Stefano]
- qigvm_get_param_data now returns the data pointer directly [Stefano]
- Added fixes tags. [Stefano]
- Renamed variables to param_data and param_size [Stefano]
- Link to v2: https://lore.kernel.org/qemu-devel/[email protected]
Changes in v2:
- Inverted commit order: first I introduce the helper and use it where
necessary, then in commit 2 I handle the offset. [Stefano]
- The helper now returns data and size, that already consider the byte
offset [Stefano]
- Link to v1: https://lore.kernel.org/qemu-devel/[email protected]
---
Luigi Leonardi (2):
igvm: validate and honor byte_offset in parameter directives
igvm: mark qigvm_find_param_entry as static
backends/igvm.c | 91 +++++++++++++++++++++++++++++++----------- include/system/igvm-internal.h | 7 ++-- target/i386/igvm.c | 12 +++--- 3 files changed, 77 insertions(+), 33 deletions(-)
---
base-commit: 5f664cd37aec17e8145aa117d8da68f507edc8f1
change-id: 20260902-fix_offset-a268cb12aafc
Best regards,
Signature · 1 line
Luigi Leonardi <[email protected]>