diff options
author | Juraj Marcin <jmarcin@redhat.com> | 2024-09-04 12:37:14 +0200 |
---|---|---|
committer | David Hildenbrand <david@redhat.com> | 2024-09-24 11:33:35 +0200 |
commit | c009a311e93963860cfba917605a4bf903a06bce (patch) | |
tree | 05d9aa77ae11f02aa390402158fe04c3f57f43ce /python/scripts/vendor.py | |
parent | 759cbb4ee971da13ddfa8ad73befc2351d542044 (diff) | |
download | qemu-c009a311e93963860cfba917605a4bf903a06bce.zip qemu-c009a311e93963860cfba917605a4bf903a06bce.tar.gz qemu-c009a311e93963860cfba917605a4bf903a06bce.tar.bz2 |
virtio-mem: Use new Resettable framework instead of LegacyReset
LegacyReset does not pass ResetType to the reset callback method, which
the new Resettable framework uses. Due to this, virtio-mem cannot use
the new RESET_TYPE_WAKEUP to skip the reset during wake-up from a
suspended state.
This patch adds overrides Resettable interface methods in VirtIOMEMClass
to use the new Resettable framework and replaces
qemu_[un]register_reset() calls with qemu_[un]register_resettable().
Message-ID: <20240904103722.946194-4-jmarcin@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Juraj Marcin <jmarcin@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'python/scripts/vendor.py')
0 files changed, 0 insertions, 0 deletions