[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] target/i386/sev: Replace malloc with local variables
From: |
Dov Murik |
Subject: |
[PATCH 0/2] target/i386/sev: Replace malloc with local variables |
Date: |
Mon, 11 Oct 2021 17:30:24 +0000 |
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]
20211007161716.453984-1-philmd@redhat.com/">https://lore.kernel.org/qemu-devel/20211007161716.453984-1-philmd@redhat.com/
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(-)
--
2.25.1
- [PATCH 0/2] target/i386/sev: Replace malloc with local variables,
Dov Murik <=