qemu-irix/hw
zhanghailiang eb36f79d59 acpi-build: Set FORCE_APIC_CLUSTER_MODEL bit for FADT flags
If we start Windows 2008 R2 DataCenter with number of cpu less than 8,
The system will use APIC Flat Logical destination mode as default configuration,
Which has an upper limit of 8 CPUs.

The fault is that VM can not show all processors within Task Manager if
we hot-add cpus when the number of cpus in VM extends the limit of 8.

If we use cluster destination model, the problem will be solved.

Note:
This flag was introduced later than ACPI v1.0 specification while QEMU
generates v1.0 tables only, but...

linux kernel ignores this flag, so patch has no influence on it.

Tested with Win[XPsp3|Srv2003EE|Srv2008DC|Srv2008R2|Srv2012R2], there
isn't BSODs and guests boot just fine. In cases guest doesn't support
cpu-hotplug, cpu becomes visible after reboot and in case the guest
supports cpu-hotplug, it works as expected with this patch.

Cc: qemu-stable@nongnu.org
Signed-off-by: huangzhichao <huangzhichao@huawei.com>
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.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>
(cherry picked from commit 07b81ed937)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2014-09-10 09:30:58 -05:00
..
9pfs virtio-9p: use virtio wrappers to access headers 2014-06-29 19:39:43 +03:00
acpi pcihp: fix possible array out of bounds 2014-09-08 11:23:05 -05:00
alpha
arm arm/virt: Use PSCI v0.2 function IDs in the DT when KVM uses PSCI v0.2 2014-09-08 11:23:05 -05:00
audio
block virtio-blk: fix reference a pointer which might be freed 2014-09-08 11:23:04 -05:00
bt
char cadence_uart: check for serial backend before using it. 2014-07-17 16:36:17 +01:00
core machine: Replace underscores in machine's property names 2014-07-21 18:58:36 +02:00
cpu
cris
display qxl-render: add more sanity checks 2014-09-10 09:30:57 -05:00
dma hw: Fix qemu_allocate_irqs() leaks 2014-06-30 21:13:30 +02:00
gpio
i2c
i386 acpi-build: Set FORCE_APIC_CLUSTER_MODEL bit for FADT flags 2014-09-10 09:30:58 -05:00
ide ide: only constrain read/write requests to drive size, not other types 2014-08-26 16:58:56 -05:00
input input: fix jumpy mouse cursor with USB mouse emulation 2014-07-01 13:26:37 +02:00
intc
ipack irq: Allocate IRQs individually 2014-07-01 04:02:53 +02:00
isa
lm32
m68k
mem pc-dimm: fix up error message 2014-09-08 11:23:04 -05:00
microblaze
mips mips_malta: Catch kernels linked at wrong address 2014-07-09 18:17:08 +02:00
misc vfio: Fix MSI-X vector expansion 2014-08-26 16:48:12 -05:00
moxie
net vhost_net: init acked_features to backend_features 2014-09-10 09:30:57 -05:00
nvram
openrisc
pci pci: avoid losing config updates to MSI/MSIX cap regs 2014-09-10 09:30:57 -05:00
pci-bridge
pci-host prep: Remove PCI memory hack related to OpenHack'Ware 2014-07-07 16:46:35 +02:00
pcmcia hw: Fix qemu_allocate_irqs() leaks 2014-06-30 21:13:30 +02:00
ppc spapr_pci: map the MSI window in each PHB 2014-09-10 09:30:28 -05:00
s390x s390x/css: reflect cpa in scsw 2014-07-08 15:08:03 +02:00
scsi vhost-scsi: init backend features earlier 2014-09-10 09:30:57 -05:00
sd hw: Fix qemu_allocate_irqs() leaks 2014-06-30 21:13:30 +02:00
sh4 hw: Fix qemu_allocate_irqs() leaks 2014-06-30 21:13:30 +02:00
sparc
sparc64
ssi
timer mc146818rtc: register the clock reset notifier on the right clock 2014-07-10 17:06:33 +02:00
tpm
unicore32
usb usb: mtp: tag root property as experimental 2014-07-23 08:55:40 +02:00
virtio vhost_net: start/stop guest notifiers properly 2014-09-10 09:30:57 -05:00
watchdog watchdog: fix deadlock with -watchdog-action pause 2014-07-09 18:17:08 +02:00
xen xen_backend: introduce xenstore_read_uint64 and xenstore_read_fe_uint64 2014-07-07 10:37:40 +00:00
xenpv
xtensa hw/xtensa/xtfpga: implement initrd loading 2014-06-29 02:32:42 +04:00
Makefile.objs