summary refs log tree commit diff stats
path: root/python/qemu/utils/accel.py
diff options
context:
space:
mode:
authorDov Murik <dovmurik@linux.ibm.com>2022-02-22 07:19:06 +0000
committerMichael S. Tsirkin <mst@redhat.com>2022-03-06 05:08:23 -0500
commit9919423516ddf0519df965184e236ba74fa236b1 (patch)
tree74f9054c343629206cdf01faad8820ca1a3a2258 /python/qemu/utils/accel.py
parente5aaeac3554599ad5ca3c8ace38ad5bcd7ae6ff1 (diff)
downloadfocaccia-qemu-9919423516ddf0519df965184e236ba74fa236b1.tar.gz
focaccia-qemu-9919423516ddf0519df965184e236ba74fa236b1.zip
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 'python/qemu/utils/accel.py')
0 files changed, 0 insertions, 0 deletions