mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
pc: exit QEMU if number of slots more than supported 256
... which is imposed by current naming scheme of ACPI memory devices. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Acked-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
619d11e463
commit
a0cc8856e8
2 changed files with 12 additions and 0 deletions
|
@ -26,6 +26,12 @@
|
|||
#include "exec/memory.h"
|
||||
#include "hw/irq.h"
|
||||
|
||||
/*
|
||||
* current device naming scheme supports
|
||||
* only upto 256 memory devices
|
||||
*/
|
||||
#define ACPI_MAX_RAM_SLOTS 256
|
||||
|
||||
/* from linux include/acpi/actype.h */
|
||||
/* Default ACPI register widths */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue