http://wiki.qemu.org/Features/ResetAPI:
system reseta hardware mechanism for setting or returning all hardware
states to the initial conditions.* Use caseIn qemu, system_system_reset().


cold reset(power on reset)system reset following the application of power.


* Use caseIn qemu, system_reset() in main().We might want to use this as a
power cycle.When a device is hot plugged, the device should be cold reset
too.* GuaranteeThe internal status must be same to qdev_init() +
qdev_reset()


warm resetsystem reset without cycling the supplied power.* Use caseIn
qemu, system_reset() in main_loop(). There are many places which calls
qemu_system_reset_request().Some state are retained across warm reset. Like
PCIe AER, error reporting registers need to keep its contents across warm
resetas OS would examine them and report it when hardware errors caused
warm reset.==========================I can not found these functions:
system_system_reset
system_reset
I think both of them refer to qemu_system_reset in  vl.c .They are
different just because they have different caller postions.

Reply via email to