[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 11/11] arm/virt: enable sleep support
From: |
Annie Li |
Subject: |
[RFC PATCH 11/11] arm/virt: enable sleep support |
Date: |
Tue, 5 Dec 2023 00:31:06 +0000 |
From: Miguel Luis <miguel.luis@oracle.com>
This is for reference that qmp_system_sleep relies on wakeup support delegated
by qemu_wakeup_suspend_enabled() hence the need for calling
qemu_register_wakeup_support().
Signed-off-by: Miguel Luis <miguel.luis@oracle.com>
---
hw/arm/virt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 8b9a328360..6407734105 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -2309,6 +2309,7 @@ static void machvirt_init(MachineState *machine)
/* connect sleep request */
vms->sleep_notifier.notify = virt_sleep_req;
+ qemu_register_wakeup_support();
/* connect powerdown request */
vms->powerdown_notifier.notify = virt_powerdown_req;
--
2.34.3
- Re: [RFC PATCH 01/11] acpi: hmp/qmp: Add hmp/qmp support for system_sleep, (continued)
[RFC PATCH 02/11] acpi: Implement control method sleep button, Annie Li, 2023/12/04
[RFC PATCH 04/11] acpi: Support Control Method sleep button for x86, Annie Li, 2023/12/04
[RFC PATCH 05/11] tests/acpi/bios-tables-test: update DSDT tables for Control Method Sleep button, Annie Li, 2023/12/04
[RFC PATCH 06/11] acpi: Send the GPE event of suspend and wakeup for x86, Annie Li, 2023/12/04
[RFC PATCH 08/11] tests/acpi: allow FACP and DSDT table changes for arm/virt, Annie Li, 2023/12/04
[RFC PATCH 10/11] tests/acpi: Update FACP and DSDT tables for sleep button, Annie Li, 2023/12/04
[RFC PATCH 11/11] arm/virt: enable sleep support,
Annie Li <=
[RFC PATCH 09/11] hw/arm: enable sleep support for arm/virt, Annie Li, 2023/12/04
[RFC PATCH 03/11] test/acpi: allow DSDT table changes, Annie Li, 2023/12/04
[RFC PATCH 07/11] hw/acpi: Add ACPI GED support for the sleep event, Annie Li, 2023/12/04