|
From: | David Hildenbrand |
Subject: | Re: [PATCH 3/4] virtio-mem: Implement Resettable interface instead of using LegacyReset |
Date: | Tue, 6 Aug 2024 18:42:27 +0200 |
User-agent: | Mozilla Thunderbird |
On 06.08.24 18:07, Juraj Marcin wrote:
LegacyReset does not pass ResetType to the reset callback method, which the new Resettable interface uses. Due to this, virtio-mem cannot use the new RESET_TYPE_WAKEUP to skip reset during wake-up from a suspended state. This patch adds the Resettable interface to the VirtioMemClass interface list, implements the necessary methods and replaces qemu_[un]register_reset() calls with qemu_[un]register_resettable(). Signed-off-by: Juraj Marcin <jmarcin@redhat.com> ---
Reviewed-by: David Hildenbrand <david@redhat.com> -- Cheers, David / dhildenb
[Prev in Thread] | Current Thread | [Next in Thread] |