On 23 July 2012 12:01, Maksim Kozlov <m.koz...@samsung.com> wrote: > 20.07.2012 18:32, Peter Maydell пишет: >> This patch seems to be trying to make a distinction that QEMU doesn't >> support, ie between system wide "software reset" and system wide >> "hard reset". I'm not convinced about the wisdom of trying to paper >> over this lack with a single-device workaround. > > Peter, if we add callback (*swreset)() into DeviceClass, whether it will be > an acceptable solution? And devices which have different behavior during > swreset can register different function for that. What do you think about > this?
I think reset is a key part of device lifecycle and adding support for 'warm reset' or whatever needs general discussion so we can get the semantics right... cc'ing a couple of people who might have opinions. -- PMM