qdev: Assert devices are plugged into a bus that can take them
commit81cb05732efb36971901c515b007869cc1d3a532
authorMarkus Armbruster <armbru@redhat.com>
Tue, 9 Jun 2020 12:23:37 +0000 (9 14:23 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 15 Jun 2020 19:36:30 +0000 (15 21:36 +0200)
tree659e362b0ab5742b4afee19f4986f6439916f4ef
parentd6b78ac8ecf94f56dbfbecc23fb4365d8772a41a
qdev: Assert devices are plugged into a bus that can take them

This would have caught some of the bugs I just fixed.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20200609122339.937862-23-armbru@redhat.com>
hw/core/qdev.c