OSDN Git Service

acpi: Align the size to 128k
authorYubo Miao <miaoyubo@huawei.com>
Thu, 19 Nov 2020 01:48:38 +0000 (09:48 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 8 Dec 2020 18:48:57 +0000 (13:48 -0500)
commit451b157041d265f94a4be668b9cd234b3e34fabb
treecd1c2e8c7b01589673a3a41814266fc00be66bcf
parent6f9765fbad3d86de008f2e0f6821c29155eb0d85
acpi: Align the size to 128k

If table size is changed between virt_acpi_build and
virt_acpi_build_update, the table size would not be updated to
UEFI, therefore, just align the size to 128kb, which is enough
and same with x86. It would warn if 64k is not enough and the
align size should be updated.

Signed-off-by: Yubo Miao <miaoyubo@huawei.com>
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Message-Id: <20201119014841.7298-7-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/arm/virt-acpi-build.c