Skip to content

target/i386/sev: Replace malloc with local variables

Dov Murik qemu-devel 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2target/i386/sev: Use local variable for kvm_sev_launch_starttarget/i386/sev.c+10 -131 reply
2/2target/i386/sev: Use local variable for kvm_sev_launch_measuretarget/i386/sev.c+7 -91 reply

Reviews trailers per patch

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

PatchDr. David Alan Gilbert
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] target/i386/sev: Replace malloc with local variables

In two places in sev.c we use malloc+free to manage memory for small constant struct variables. Modify this to use local variables.

This small series can be applied on top of master or on top of Phil's Housekeeping SEV series [1].

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

Dov Murik (2):
target/i386/sev: Use local variable for kvm_sev_launch_start target/i386/sev: Use local variable for kvm_sev_launch_measure

 target/i386/sev.c | 39 +++++++++++++++++----------------------
 1 file changed, 17 insertions(+), 22 deletions(-)
Signature · 1 line
2.25.1