changes from previous version: - add comment to patch 1 - fix testsuite breakage by not using drain_call_rcu in qmp_device_del
Maxim Levitsky (7): scsi/scsi_bus: switch search direction in scsi_device_find device_core: use drain_call_rcu in in qmp_device_add device-core: use RCU for list of children of a bus device-core: use atomic_set on .realized property scsi/scsi_bus: Add scsi_device_get virtio-scsi: use scsi_device_get scsi/scsi_bus: fix races in REPORT LUNS Paolo Bonzini (3): qdev: add "check if address free" callback for buses scsi: switch to bus->check_address scsi/scsi-bus: scsi_device_find: don't return unrealized devices hw/core/bus.c | 28 ++-- hw/core/qdev.c | 73 +++++++--- hw/net/virtio-net.c | 2 +- hw/scsi/scsi-bus.c | 262 ++++++++++++++++++++++------------- hw/scsi/virtio-scsi.c | 27 ++-- hw/sd/core.c | 3 +- include/hw/qdev-core.h | 24 +++- include/hw/scsi/scsi.h | 1 + qdev-monitor.c | 12 ++ tests/qtest/drive_del-test.c | 10 +- 10 files changed, 301 insertions(+), 141 deletions(-) -- 2.26.2