also make handler edge based to avoid loosing events, the same as it has been done for PCI and CPU hotplug handlers.
Signed-off-by: Igor Mammedov <imamm...@redhat.com> --- hw/i386/acpi-dsdt.dsl | 5 ++++- hw/i386/q35-acpi-dsdt.dsl | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hw/i386/acpi-dsdt.dsl b/hw/i386/acpi-dsdt.dsl index b846195..d3fb533 100644 --- a/hw/i386/acpi-dsdt.dsl +++ b/hw/i386/acpi-dsdt.dsl @@ -322,6 +322,7 @@ DefinitionBlock ( /**************************************************************** * General purpose events ****************************************************************/ + External(\_SB.MHPD.MESC, MethodObj) Scope(\_GPE) { Name(_HID, "ACPI0006") @@ -338,7 +339,9 @@ DefinitionBlock ( // CPU hotplug event \_SB.PRSC() } - Method(_L03) { + Method(_E03) { + // Memory hotplug event + \_SB.MHPD.MESC() } Method(_L04) { } diff --git a/hw/i386/q35-acpi-dsdt.dsl b/hw/i386/q35-acpi-dsdt.dsl index 766e96d..a55e34f 100644 --- a/hw/i386/q35-acpi-dsdt.dsl +++ b/hw/i386/q35-acpi-dsdt.dsl @@ -418,6 +418,7 @@ DefinitionBlock ( /**************************************************************** * General purpose events ****************************************************************/ + External(\_SB.MHPD.MESC, MethodObj) Scope(\_GPE) { Name(_HID, "ACPI0006") @@ -430,7 +431,9 @@ DefinitionBlock ( // CPU hotplug event \_SB.PRSC() } - Method(_L03) { + Method(_E03) { + // Memory hotplug event + \_SB.MHPD.MESC() } Method(_L04) { } -- 1.9.0