esp devices aren't going to work with -device, as they need to be wired by esp_init(). Remove the user_creatable flag from the device class.
Cc: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> --- hw/scsi/esp.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hw/scsi/esp.c b/hw/scsi/esp.c index 1087b8f14f..eee831efeb 100644 --- a/hw/scsi/esp.c +++ b/hw/scsi/esp.c @@ -728,11 +728,6 @@ static void sysbus_esp_class_init(ObjectClass *klass, void *data) dc->reset = sysbus_esp_hard_reset; dc->vmsd = &vmstate_sysbus_esp_scsi; set_bit(DEVICE_CATEGORY_STORAGE, dc->categories); - /* - * FIXME: Set only for compatibility on q35 machine-type. - * Probably never meant to be user-creatable - */ - dc->user_creatable = true; } static const TypeInfo sysbus_esp_info = { -- 2.11.0.259.g40922b1