qemu/hw/hyperv
Peter Maydell e3d0814368 hw: Use device_class_set_legacy_reset() instead of opencoding
Use device_class_set_legacy_reset() instead of opencoding an
assignment to DeviceClass::reset. This change was produced
with:
 spatch --macro-file scripts/cocci-macro-file.h \
    --sp-file scripts/coccinelle/device-reset.cocci \
    --keep-comments --smpl-spacing --in-place --dir hw

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240830145812.1967042-8-peter.maydell@linaro.org
2024-09-13 15:31:44 +01:00
..
hv-balloon-internal.h hyperv: Clean up includes 2024-01-30 21:20:20 +03:00
hv-balloon-our_range_memslots.c hyperv: Clean up includes 2024-01-30 21:20:20 +03:00
hv-balloon-our_range_memslots.h hyperv: Clean up includes 2024-01-30 21:20:20 +03:00
hv-balloon-page_range_tree.c hyperv: Clean up includes 2024-01-30 21:20:20 +03:00
hv-balloon-page_range_tree.h hyperv: Clean up includes 2024-01-30 21:20:20 +03:00
hv-balloon-stub.c qapi: Add HV_BALLOON_STATUS_REPORT event and its QMP query command 2023-11-06 14:08:10 +01:00
hv-balloon.c hv-balloon: define dm_hot_add_with_region to avoid Coverity warning 2024-03-08 14:18:56 +01:00
hyperv_testdev.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
hyperv.c hw: Use device_class_set_legacy_reset() instead of opencoding 2024-09-13 15:31:44 +01:00
Kconfig Add Hyper-V Dynamic Memory Protocol driver (hv-balloon) base 2023-11-06 14:08:10 +01:00
meson.build qapi: Add HV_BALLOON_STATUS_REPORT event and its QMP query command 2023-11-06 14:08:10 +01:00
syndbg.c win32: replace closesocket() with close() wrapper 2023-03-13 15:39:31 +04:00
trace-events Add Hyper-V Dynamic Memory Protocol driver (hv-balloon) hot-add support 2023-11-06 14:08:10 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vmbus.c hw: Use device_class_set_legacy_reset() instead of opencoding 2024-09-13 15:31:44 +01:00