qemu/hw
Laurent Vivier 55641213fc numa,spapr: align default numa node memory size to 256MB
Since commit 224245b ("spapr: Add LMB DR connectors"), NUMA node
memory size must be aligned to 256MB (SPAPR_MEMORY_BLOCK_SIZE).

But when "-numa" option is provided without "mem" parameter,
the memory is equally divided between nodes, but 8MB aligned.
This can be not valid for pseries.

In that case we can have:
$ ./ppc64-softmmu/qemu-system-ppc64 -m 4G -numa node -numa node -numa node
qemu-system-ppc64: Node 0 memory size 0x55000000 is not aligned to 256 MiB

With this patch, we have:
(qemu) info numa
3 nodes
node 0 cpus: 0
node 0 size: 1280 MB
node 1 cpus:
node 1 size: 1280 MB
node 2 cpus:
node 2 size: 1536 MB

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2017-03-22 11:32:42 +11:00
..
9pfs 9pfs: proxy: assert if unmarshal fails 2017-03-21 09:12:47 +01:00
acpi Bugfix: Handle error if VM Generation ID device not present 2017-03-15 19:37:19 +02:00
adc
alpha
arm
audio
block xen: do not build backends for targets that do not support xen 2017-03-19 11:12:12 +01:00
bt
char xen: do not build backends for targets that do not support xen 2017-03-19 11:12:12 +01:00
core numa,spapr: align default numa node memory size to 256MB 2017-03-22 11:32:42 +11:00
cpu
cris
display add opengl_cflags to QEMU_CFLAGS 2017-03-21 10:25:01 +00:00
dma dma/rc4030: fix a mixed declarations and code warning 2017-03-20 11:20:35 +00:00
gpio
i2c
i386 kvmclock: Don't crash QEMU if KVM is disabled 2017-03-14 13:26:36 +01:00
ide ide: ahci: call cleanup function in ahci unit 2017-03-15 20:50:14 -04:00
input
intc nios2: iic: Convert CPU prop to qom link 2017-03-18 18:22:54 +00:00
ipack
ipmi
isa
lm32
m68k
mem
microblaze
mips
misc hw/misc/imx6_src: Don't crash trying to reset missing CPUs 2017-03-14 16:13:22 +00:00
moxie
net xen: do not build backends for targets that do not support xen 2017-03-19 11:12:12 +01:00
nios2 nios2: iic: Convert CPU prop to qom link 2017-03-18 18:22:54 +00:00
nvram
openrisc
pci hw/virtio: fix Link Control Register for PCI Express virtio devices 2017-03-16 01:46:41 +02:00
pci-bridge
pci-host
pcmcia
ppc numa,spapr: align default numa node memory size to 256MB 2017-03-22 11:32:42 +11:00
s390x s390x/css: reassign subchannel if schid is changed after migration 2017-03-20 09:22:57 +01:00
scsi scsi: mptsas: fix the wrong reading size in fetch request 2017-03-14 13:26:37 +01:00
sd Block layer patches 2017-03-01 23:09:46 +00:00
sh4
smbios
sparc sparc/sparc64: grab BQL before calling cpu_check_irqs 2017-03-09 10:41:38 +00:00
sparc64 sparc/sparc64: grab BQL before calling cpu_check_irqs 2017-03-09 10:41:38 +00:00
ssi
timer
tpm
tricore
unicore32
usb xen: do not build backends for targets that do not support xen 2017-03-19 11:12:12 +01:00
vfio
virtio hw/virtio: fix Power Management Control Register for PCI Express virtio devices 2017-03-16 01:46:41 +02:00
watchdog
xen xen: do not build backends for targets that do not support xen 2017-03-19 11:12:12 +01:00
xenpv
xtensa target/xtensa: xtfpga: load DTB only when FDT support is enabled 2017-03-11 14:59:03 -08:00
Makefile.objs