qemu-e2k/hw
Ladi Prosek ede24a0264 pc: ACPI BIOS: use highest NUMA node for hotplug mem hole SRAT entry
For reasons unknown, Windows won't online all memory, both at command
line and hot-plugged later, unless the hotplug mem hole SRAT entry
specifies a node greater than or equal to the ones where memory is
added.

Using the highest node on the machine makes recent versions of Windows
happy.

With this example command line:
  ... \
  -m 1024,slots=4,maxmem=32G \
  -numa node,nodeid=0 \
  -numa node,nodeid=1 \
  -numa node,nodeid=2 \
  -numa node,nodeid=3 \
  -object memory-backend-ram,size=1G,id=mem-mem1 \
  -device pc-dimm,id=dimm-mem1,memdev=mem-mem1,node=1

Windows reports a total of 1G of RAM without this commit and the expected
2G with this commit.

Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
2017-05-29 03:07:57 +03:00
..
9pfs migration/next for 20170517 2017-05-18 10:05:52 +01:00
acpi pci, virtio, vhost: fixes 2017-05-18 10:01:08 +01:00
adc
alpha memory: tune last param of iommu_ops.translate() 2017-05-25 21:25:27 +03:00
arm pci, virtio, vhost: fixes 2017-05-18 10:01:08 +01:00
audio audio: Rename hw/audio/audio.h to hw/audio/soundhw.h 2017-05-19 10:48:54 +02:00
block pflash_cfi01: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
bt
char s390x/3270: Mark non-migratable and enable the device 2017-05-04 10:34:37 +02:00
core migration/next for 20170517 2017-05-18 10:05:52 +01:00
cpu
cris
display migration: Create migration/blocker.h 2017-05-17 12:04:59 +02:00
dma memory: tune last param of iommu_ops.translate() 2017-05-25 21:25:27 +03:00
gpio qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
i2c qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
i386 pc: ACPI BIOS: use highest NUMA node for hotplug mem hole SRAT entry 2017-05-29 03:07:57 +03:00
ide allwinner-ahci: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
input qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
intc migration/next for 20170517 2017-05-18 10:05:52 +01:00
ipack
ipmi ipmi: introduce an ipmi_bmc_gen_event() API 2017-04-26 12:41:55 +10:00
isa isabus-bridge: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
lm32
m68k hw/m68k: QOMify the ColdFire interrupt controller 2017-02-18 22:23:31 +01:00
mem
microblaze Remove reduntant qemu: from error functions 2017-05-07 09:57:51 +03:00
mips qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
misc migration/next for 20170517 2017-05-18 10:05:52 +01:00
moxie
net virtio_net: Bypass backends for MTU feature negotiation 2017-05-25 21:25:28 +03:00
nios2 Remove reduntant qemu: from error functions 2017-05-07 09:57:51 +03:00
nvram fw_cfg: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
openrisc target/openrisc: Support non-busy idle state using PMR SPR 2017-05-04 09:39:14 +09:00
pci pci: deassert intx when pci device unrealize 2017-05-18 00:35:15 +03:00
pci-bridge pci, virtio, vhost: fixes 2017-05-18 10:01:08 +01:00
pci-host memory: tune last param of iommu_ops.translate() 2017-05-25 21:25:27 +03:00
pcmcia
ppc memory: tune last param of iommu_ops.translate() 2017-05-25 21:25:27 +03:00
s390x memory: tune last param of iommu_ops.translate() 2017-05-25 21:25:27 +03:00
scsi esp: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
sd generic-sdhci: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
sh4 qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
smbios
sparc tcx: switch to load_image_mr() and remove prom_addr hack 2017-04-21 09:02:04 +01:00
sparc64 sparc/sparc64: grab BQL before calling cpu_check_irqs 2017-03-09 10:41:38 +00:00
ssi
timer hpet: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
tpm
tricore Remove reduntant qemu: from error functions 2017-05-07 09:57:51 +03:00
unicore32
usb sysbus-ohci: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
vfio memory: remove the last param in memory_region_iommu_replay() 2017-05-25 21:25:27 +03:00
virtio vhost-user: pass message as a pointer to process_message_reply() 2017-05-25 21:25:28 +03:00
watchdog
xen xen-sysdev: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
xenpv
xtensa target/xtensa: xtfpga: load DTB only when FDT support is enabled 2017-03-11 14:59:03 -08:00
Makefile.objs