summaryrefslogtreecommitdiffstats
path: root/fsdev/qemu-fsdev-throttle.c
diff options
context:
space:
mode:
authorPeter Maydell2017-02-28 15:55:08 +0100
committerPeter Maydell2017-02-28 18:10:00 +0100
commit91c968ac72f59345a2ebc3abd483c26200afdf3a (patch)
tree02c42615adf551057e00053d4294ff15b5c8de23 /fsdev/qemu-fsdev-throttle.c
parenthw/intc/arm_gicv3_kvm: Reset GICv3 cpu interface registers (diff)
downloadqemu-91c968ac72f59345a2ebc3abd483c26200afdf3a.tar.gz
qemu-91c968ac72f59345a2ebc3abd483c26200afdf3a.tar.xz
qemu-91c968ac72f59345a2ebc3abd483c26200afdf3a.zip
qdev: Have qdev_set_parent_bus() handle devices already on a bus
Instead of qdev_set_parent_bus() silently doing the wrong thing if it's handed a device that's already on a bus, have it remove the device from the old bus and add it to the new one. This is useful for the raspi2 sdcard. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-id: 1488293711-14195-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'fsdev/qemu-fsdev-throttle.c')
0 files changed, 0 insertions, 0 deletions