summaryrefslogtreecommitdiffstats
path: root/include/hw/i386
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2014-06-02 15:25:20 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-06-19 16:41:50 +0300
commit34774320c3b05287a06775c31578bd1e2cb20b83 (patch)
tree708ca0416187bccf0a70031bea5974c59c05bb7e /include/hw/i386
parentf1adc360b4ea3ed3bf3a5061681a986b0df85ad7 (diff)
downloadhqemu-34774320c3b05287a06775c31578bd1e2cb20b83.zip
hqemu-34774320c3b05287a06775c31578bd1e2cb20b83.tar.gz
acpi:piix4: add memory hotplug handling
Add memory hotplug initialization/handling to PIIX4_PM device and enable it by default for post 2.0 machine types Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> MST: resolve conflict in pc.h
Diffstat (limited to 'include/hw/i386')
-rw-r--r--include/hw/i386/pc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index c3ed858..f6d4172 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -311,10 +311,16 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
#define PC_COMPAT_2_0 \
{\
+ .driver = "PIIX4_PM",\
+ .property = "memory-hotplug-support",\
+ .value = "off",\
+ },\
+ {\
.driver = "apic",\
.property = "version",\
.value = stringify(0x11),\
- },{\
+ },\
+ {\
.driver = "nec-usb-xhci",\
.property = "superspeed-ports-first",\
.value = "off",\
OpenPOWER on IntegriCloud