projectacrn / acrn-hypervisor

Project ACRN hypervisor
BSD 3-Clause "New" or "Revised" License
1.15k stars 524 forks source link

hv: handle reboot from Service VM properly #8727

Closed jiaqingz-intel closed 2 months ago

jiaqingz-intel commented 2 months ago

Service VM may write 0x6 to port 0xcf9 to trigger a warm reset, but current hypervisor always performs a cold reset by writing 0xE to CF9. Hypervisor should reboot the system in the same mode as Service VM specified. Specific OS features (like linux pstore) requires warm reset to keep data across reboot.

The behavior of hv console's reboot command (cold reset) remains unchanged.

Tracked-On: #8539

Reviewed-by: Junjie Mao junjie.mao@intel.com

acrnsi-robot commented 2 months ago

start to run premerge test

yuhuanX commented 2 months ago

start to run premerge test

wenlingz commented 2 months ago

start to run premerge test

yuhuanX commented 2 months ago

start to run premerge test

yuhuanX commented 2 months ago

start to run premerge test