diff options
| author | Dov Murik <dovmurik@linux.ibm.com> | 2021-11-11 10:00:47 +0000 |
|---|---|---|
| committer | Daniel P. Berrangé <berrange@redhat.com> | 2021-11-18 11:08:09 +0000 |
| commit | ddcc0d898e4040b1795254fac8ac4f8514b0ecb8 (patch) | |
| tree | 6bd0b4db1800e91bccdc9e250b0c67f07afe456e /linux-user/syscall.c | |
| parent | a0190bf15044d2410e84f9a12aeac9ed56bd58b0 (diff) | |
| download | focaccia-qemu-ddcc0d898e4040b1795254fac8ac4f8514b0ecb8.tar.gz focaccia-qemu-ddcc0d898e4040b1795254fac8ac4f8514b0ecb8.zip | |
target/i386/sev: Perform padding calculations at compile-time
In sev_add_kernel_loader_hashes, the sizes of structs are known at compile-time, so calculate needed padding at compile-time. No functional change intended. Signed-off-by: Dov Murik <dovmurik@linux.ibm.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Brijesh Singh <brijesh.singh@amd.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions