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 <jmar...@redhat.com>
---
Reviewed-by: David Hildenbrand <da...@redhat.com>
--
Cheers,
David / dhildenb