summary refs log tree commit diff stats
path: root/hw/lm32
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2014-09-04 10:18:25 +0800
committerAndreas Färber <afaerber@suse.de>2014-09-04 19:15:06 +0200
commitcd4520adcab70dbac8db3fe4d41836dca63715a4 (patch)
tree1ecc693cd7d60dc28b6f027efc2c7c08982723ff /hw/lm32
parentd578029e71311de1b1476229d88d4aca02b783a3 (diff)
downloadfocaccia-qemu-cd4520adcab70dbac8db3fe4d41836dca63715a4.tar.gz
focaccia-qemu-cd4520adcab70dbac8db3fe4d41836dca63715a4.zip
qdev: Use NULL instead of local_err for qbus_child unrealize
Forcefully unrealize all children regardless of errors in earlier
iterations (if any). We should keep going with cleanup operation
rather than report an error immediately. Therefore store the first
child unrealization failure and propagate it at the end. We also
forcefully unregister vmsd and unrealize actual object, too.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/lm32')
0 files changed, 0 insertions, 0 deletions