• J
    Introduce reset notifier order · 8217606e
    Jan Kiszka 提交于
    Add the parameter 'order' to qemu_register_reset and sort callbacks on
    registration. On system reset, callbacks with lower order will be
    invoked before those with higher order. Update all existing users to the
    standard order 0.
    
    Note: At least for x86, the existing users seem to assume that handlers
    are called in their registration order. Therefore, the patch preserves
    this property. If someone feels bored, (s)he could try to identify this
    dependency and express it properly on callback registration.
    Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
    8217606e
sun4m.c 52.3 KB