spapr_drc: Make device "spapr-dr-connector" unavailable with -device
commitc401ae8c9cd4e335dca59661f2849e7a26b5eb31
authorMarkus Armbruster <armbru@redhat.com>
Thu, 3 Dec 2015 16:37:40 +0000 (3 17:37 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 3 Dec 2015 23:56:29 +0000 (4 10:56 +1100)
tree3e2798e06fb2c4af26d5a07a8ee59ce8e58474d6
parentc75304a13906e2a91752a12ef90e31ab18467453
spapr_drc: Make device "spapr-dr-connector" unavailable with -device

It should only be created via spapr_dr_connector_new().  Attempting to
create it with -device crashes.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_drc.c