qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paolo Bonzini
Subject: Re: [PATCH 0/2] target/i386/sev: Replace malloc with local variables
Date: Tue, 12 Oct 2021 13:02:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0

On 11/10/21 19:30, Dov Murik wrote:
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(-)


Queued, thanks.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]