qemu/hw/hyperv
Peter Maydell ad80e36744 hw, target: Add ResetType argument to hold and exit phase methods
We pass a ResetType argument to the Resettable class enter
phase method, but we don't pass it to hold and exit, even though
the callsites have it readily available. This means that if
a device cared about the ResetType it would need to record it
in the enter phase method to use later on. Pass the type to
all three of the phase methods to avoid having to do that.

Commit created with

  for dir in hw target include; do \
      spatch --macro-file scripts/cocci-macro-file.h \
             --sp-file scripts/coccinelle/reset-type.cocci \
             --keep-comments --smpl-spacing --in-place \
             --include-headers --dir $dir; done

and no manual edits.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Luc Michel <luc.michel@amd.com>
Message-id: 20240412160809.1260625-5-peter.maydell@linaro.org
2024-04-25 10:21:06 +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 vmbus: Print a warning when enabled without the recommended set of features 2024-03-08 14:18:56 +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, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00