Re: [PATCH v3 2/2] hw/i386: Replace magic number with field length calculation

2022-02-22 Thread Daniel P . Berrangé
On Tue, Feb 22, 2022 at 07:19:06AM +, Dov Murik wrote: > Replce the literal magic number 48 with length calculation (32 bytes at > the end of the firmware after the table footer + 16 bytes of the OVMF > table footer GUID). > > No functional change intended. > > Signed-off-by: Dov Murik >

[PATCH v3 2/2] hw/i386: Replace magic number with field length calculation

2022-02-21 Thread Dov Murik
Replce the literal magic number 48 with length calculation (32 bytes at the end of the firmware after the table footer + 16 bytes of the OVMF table footer GUID). No functional change intended. Signed-off-by: Dov Murik --- hw/i386/pc_sysfw_ovmf.c | 9 ++--- 1 file changed, 6 insertions(+),