diff options
author | Dov Murik <dovmurik@linux.ibm.com> | 2021-10-11 17:30:26 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-13 10:47:50 +0200 |
commit | 59e42d88b6851b238927cbe48505b1cef547ce3b (patch) | |
tree | a7a333cf749822fbb4a9357f4af257fb605b3a51 /linux-user/trace-events | |
parent | eb8257a261325988873e047872975b5eda03efb4 (diff) | |
download | qemu-59e42d88b6851b238927cbe48505b1cef547ce3b.zip qemu-59e42d88b6851b238927cbe48505b1cef547ce3b.tar.gz qemu-59e42d88b6851b238927cbe48505b1cef547ce3b.tar.bz2 |
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 'linux-user/trace-events')
0 files changed, 0 insertions, 0 deletions