aboutsummaryrefslogtreecommitdiff
path: root/include/hw/acpi/memory_hotplug.h
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/acpi/memory_hotplug.h
parentf1adc360b4ea3ed3bf3a5061681a986b0df85ad7 (diff)
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/acpi/memory_hotplug.h')
-rw-r--r--include/hw/acpi/memory_hotplug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/acpi/memory_hotplug.h b/include/hw/acpi/memory_hotplug.h
index 8f90f72fdb..912c53f3ea 100644
--- a/include/hw/acpi/memory_hotplug.h
+++ b/include/hw/acpi/memory_hotplug.h
@@ -15,6 +15,7 @@ typedef struct MemStatus {
} MemStatus;
typedef struct MemHotplugState {
+ bool is_enabled; /* true if memory hotplug is supported */
MemoryRegion io;
uint32_t selector;
uint32_t dev_count;