diff options
author | Dov Murik | 2021-10-11 19:30:26 +0200 |
---|---|---|
committer | Paolo Bonzini | 2021-10-13 10:47:50 +0200 |
commit | 59e42d88b6851b238927cbe48505b1cef547ce3b (patch) | |
tree | a7a333cf749822fbb4a9357f4af257fb605b3a51 /hw/adc | |
parent | target/i386/sev: Use local variable for kvm_sev_launch_start (diff) | |
download | qemu-59e42d88b6851b238927cbe48505b1cef547ce3b.tar.gz qemu-59e42d88b6851b238927cbe48505b1cef547ce3b.tar.xz qemu-59e42d88b6851b238927cbe48505b1cef547ce3b.zip |
target/i386/sev: Use local variable for kvm_sev_launch_measure
The struct kvm_sev_launch_measure has a constant and small size, and
therefore we can use a regular local variable for it instead of
allocating and freeing heap memory for it.
Signed-off-by: Dov Murik <dovmurik@linux.ibm.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20211011173026.2454294-3-dovmurik@linux.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/adc')
0 files changed, 0 insertions, 0 deletions