qemu: reset fixes
cover qemu: reset fixes
Prettify qdev reset and fix virtio reset.
---
MST
Michael S. Tsirkin (2):
qemu/qdev: type safety in reset handler
qemu/virtio: fix reset with device removal
hw/qdev.c | 10 ++++++++-- hw/qdev.h | 3 ++- hw/rtl8139.c | 10 +++++++--- hw/tcx.c | 11 +++++++---- hw/virtio-pci.c | 14 ++++++++++---- 5 files changed, 34 insertions(+), 14 deletions(-)