Re: [RFC V2 PATCH 11/11] arm/virt: enable sleep support

2024-10-10 Thread Miguel Luis
Hi Peter, > On 8 Oct 2024, at 11:53, Peter Maydell wrote: > > On Fri, 27 Sept 2024 at 19:40, Annie Li wrote: >> >> From: Miguel Luis >> >> For reference: qmp_system_sleep relies on wakeup support delegated >> by qemu_wakeup_suspend_enabled() hence the need for calling >> qemu_register_wakeup

Re: [RFC V2 PATCH 11/11] arm/virt: enable sleep support

2024-10-08 Thread Peter Maydell
On Fri, 27 Sept 2024 at 19:40, Annie Li wrote: > > From: Miguel Luis > > For reference: qmp_system_sleep relies on wakeup support delegated > by qemu_wakeup_suspend_enabled() hence the need for calling > qemu_register_wakeup_support(). With this, we should be able to > issue QMP system_sleep comm

[RFC V2 PATCH 11/11] arm/virt: enable sleep support

2024-09-27 Thread Annie Li
From: Miguel Luis For reference: qmp_system_sleep relies on wakeup support delegated by qemu_wakeup_suspend_enabled() hence the need for calling qemu_register_wakeup_support(). With this, we should be able to issue QMP system_sleep command now. Signed-off-by: Miguel Luis --- hw/arm/virt.c | 1