summaryrefslogtreecommitdiffstats
path: root/softmmu/qdev-monitor.c
Commit message (Collapse)AuthorAgeFilesLines
* device_core: use drain_call_rcu in in qmp_device_addMaxim Levitsky2020-10-121-0/+12
| | | | | | | | | | | | | | Soon, a device removal might only happen on RCU callback execution. This is okay for device-del which provides a DEVICE_DELETED event, but not for the failure case of device-add. To avoid changing monitor semantics, just drain all pending RCU callbacks on error. Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Suggested-by: Stefan Hajnoczi <stefanha@gmail.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20200913160259.32145-4-mlevitsk@redhat.com> [Don't use it in qmp_device_del. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* softmmu: move more files to softmmu/Paolo Bonzini2020-10-121-0/+993
Keep most softmmu_ss files into the system-emulation-specific directory. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>