OSDN Git Service

spapr: drop useless dynamic sysbus device sanity check
authorGreg Kurz <groug@kaod.org>
Wed, 11 Apr 2018 15:01:20 +0000 (17:01 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 27 Apr 2018 08:05:22 +0000 (18:05 +1000)
commitb2692d5fed8b0549d70426d75c9ad4734dc557c8
tree5300a0b4ce0369adb39942527e209faa71936825
parente47f1d2786c3d01a7894a493aafe0efa6b64453c
spapr: drop useless dynamic sysbus device sanity check

Since commit 7da79a167aa11, the machine class init function registers
dynamic sysbus device types it supports. Passing an unsupported device
type on the command line causes QEMU to exit with an error message
just after machine init.

It is hence not needed to do the same sanity check at machine reset.

Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c