diff options
author | Dov Murik <dovmurik@linux.ibm.com> | 2022-02-22 07:19:06 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-03-06 05:08:23 -0500 |
commit | 9919423516ddf0519df965184e236ba74fa236b1 (patch) | |
tree | 74f9054c343629206cdf01faad8820ca1a3a2258 /include/sysemu/hostmem.h | |
parent | e5aaeac3554599ad5ca3c8ace38ad5bcd7ae6ff1 (diff) | |
download | qemu-9919423516ddf0519df965184e236ba74fa236b1.zip qemu-9919423516ddf0519df965184e236ba74fa236b1.tar.gz qemu-9919423516ddf0519df965184e236ba74fa236b1.tar.bz2 |
hw/i386: Replace magic number with field length calculation
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 <dovmurik@linux.ibm.com>
Message-Id: <20220222071906.2632426-3-dovmurik@linux.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'include/sysemu/hostmem.h')
0 files changed, 0 insertions, 0 deletions