diff options
author | Dov Murik <dovmurik@linux.ibm.com> | 2021-10-11 17:30:25 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-13 10:47:50 +0200 |
commit | eb8257a261325988873e047872975b5eda03efb4 (patch) | |
tree | e0dbb07117241c51086e20edd98785e617e0099e /hw/misc/mst_fpga.c | |
parent | 69520261204b9a1769134ed24b92cc0fa8445951 (diff) | |
download | qemu-eb8257a261325988873e047872975b5eda03efb4.zip qemu-eb8257a261325988873e047872975b5eda03efb4.tar.gz qemu-eb8257a261325988873e047872975b5eda03efb4.tar.bz2 |
target/i386/sev: Use local variable for kvm_sev_launch_start
The struct kvm_sev_launch_start 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-2-dovmurik@linux.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions