pc: reserve more memory for ACPI for new machine types
commit927766c7d34275ecf586020cc5305e377cc4af10
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Aug 2014 19:58:12 +0000 (20 21:58 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 24 Aug 2014 22:16:06 +0000 (25 00:16 +0200)
tree645c90a99337caed2c92fd4756a0dc24c97a9a8e
parentfa365d7cd11185237471823a5a33d36765454e16
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>
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h