generic-sdhci needs to be wired by other devices' code, so it can't be used with -device. Remove the user_creatable flag from the device class.
Cc: Peter Maydell <peter.mayd...@linaro.org> Cc: "Edgar E. Iglesias" <edgar.igles...@gmail.com> Cc: David Gibson <da...@gibson.dropbear.id.au> Cc: Alexander Graf <ag...@suse.de> Cc: "Michael S. Tsirkin" <m...@redhat.com> Cc: Marcel Apfelbaum <mar...@redhat.com> Cc: Prasad J Pandit <p...@fedoraproject.org> Cc: Alistair Francis <alistair.fran...@xilinx.com> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Acked-by: Marcel Apfelbaum <mar...@redhat.com> Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> --- Changes v1 -> v2: * (none) --- hw/sd/sdhci.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c index dbf61fccb8..6d6a791ee9 100644 --- a/hw/sd/sdhci.c +++ b/hw/sd/sdhci.c @@ -1360,11 +1360,6 @@ static void sdhci_sysbus_class_init(ObjectClass *klass, void *data) dc->props = sdhci_sysbus_properties; dc->realize = sdhci_sysbus_realize; dc->reset = sdhci_poweron_reset; - /* - * FIXME: Set only because we are not sure yet if this device - * will be outside the q35 sysbus whitelist. - */ - dc->user_creatable = true; } static const TypeInfo sdhci_sysbus_info = { -- 2.11.0.259.g40922b1