[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 5/6] target/i386/sev: Perform padding calculations at comp
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v2 5/6] target/i386/sev: Perform padding calculations at compile-time |
Date: |
Thu, 11 Nov 2021 09:30:56 +0000 |
User-agent: |
Mutt/2.0.7 (2021-05-04) |
On Mon, Nov 08, 2021 at 01:48:39PM +0000, Dov Murik wrote:
> 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>
> ---
> target/i386/sev.c | 28 ++++++++++++++++++----------
> 1 file changed, 18 insertions(+), 10 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH v2 0/6] SEV: add kernel-hashes=on for measured -kernel launch, Dov Murik, 2021/11/08
- [PATCH v2 4/6] target/i386/sev: Fail when invalid hashes table area detected, Dov Murik, 2021/11/08
- [PATCH v2 3/6] target/i386/sev: Rephrase error message when no hashes table in guest firmware, Dov Murik, 2021/11/08
- [PATCH v2 5/6] target/i386/sev: Perform padding calculations at compile-time, Dov Murik, 2021/11/08
- Re: [PATCH v2 5/6] target/i386/sev: Perform padding calculations at compile-time,
Daniel P . Berrangé <=
- [PATCH v2 1/6] qapi/qom, target/i386: sev-guest: Introduce kernel-hashes=on|off option, Dov Murik, 2021/11/08
- Re: [PATCH v2 1/6] qapi/qom,target/i386: sev-guest: Introduce kernel-hashes=on|off option, Daniel P . Berrangé, 2021/11/11
[PATCH v2 2/6] target/i386/sev: Add kernel hashes only if sev-guest.kernel-hashes=on, Dov Murik, 2021/11/08
[PATCH v2 6/6] target/i386/sev: Replace qemu_map_ram_ptr with address_space_map, Dov Murik, 2021/11/08