Files
acrn-hypervisor/hypervisor/include/common
Yifan Liu a4f136188c hv: vm: Move reset_vm to common scope
Move reset_vm to common scope and remove unused reset_mode.

The reset_mode in x86 reset_vm code is simply used as an if condition
on whether the prepare_os_image should be executed. The entire
if body will never be true as we don't support resetting Service VM
without resetting ACRN hypervisor. To reset Service VM, the only
way is through a platform reset. Therefore the prepare_os_image
action will never be called. Delete this action.

Once the if condition and prepare_os_image action is deleted,
the input parameter "mode" is useless. Delete that too. The reset_vm
API in ACRN is simply a "warm reset". It does not need to take
input.

Tracked-On: #8830
Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
Reviewed-by: Fei Li <fei1.li@intel.com>
Acked-by: Wang Yu1 <yu1.wang@intel.com>
2025-10-30 13:30:32 +08:00
..
2025-10-09 17:15:06 +08:00
2025-09-25 16:30:26 +08:00
2025-09-17 08:55:12 +08:00
2024-05-16 09:40:32 +08:00
2025-09-17 08:55:12 +08:00
2025-09-25 16:30:26 +08:00
2025-10-30 13:30:32 +08:00