]> git.ipfire.org Git - thirdparty/qemu.git/commit
pc: reserve more memory for ACPI for new machine types
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Aug 2014 19:58:12 +0000 (21:58 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 8 Sep 2014 16:23:05 +0000 (11:23 -0500)
commitbe3af755ac1f5bd13a555ca75908b9e9b90aaa31
tree2972b81d9770cff9816b33f7f0ac3bc50cfd66f4
parentbfe3e6f5e3f23cc73dc83b0f4badecd5db175575
pc: reserve more memory for ACPI for new machine types

commit 868270f23d8db2cce83e4f082fe75e8625a5fbf9
    acpi-build: tweak acpi migration limits
broke kernel loading with -kernel/-initrd: it doubled
the size of ACPI tables but did not reserve
enough memory.

As a result, issues on boot and halt are observed.

Fix this up by doubling reserved memory for new machine types.

Cc: qemu-stable@nongnu.org
Reported-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 927766c7d34275ecf586020cc5305e377cc4af10)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h