static void usb_msd_realize_bot(USBDevice *dev, Error **errp)

{

    MSDState *s = DO_UPCAST(MSDState, dev, dev);



    usb_desc_create_serial(dev);

    usb_desc_init(dev);

    scsi_bus_new(&s->bus, sizeof(s->bus), DEVICE(dev),

                 &usb_msd_scsi_info_bot, NULL);

    s->bus.qbus.allow_hotplug = 0;

    usb_msd_handle_reset(dev);

}

static void usb_msd_realize_bot(USBDevice *dev, Error **errp)

{

    MSDState *s = DO_UPCAST(MSDState, dev, dev);



    usb_desc_create_serial(dev);

    usb_desc_init(dev);

    scsi_bus_new(&s->bus, sizeof(s->bus), DEVICE(dev),

                 &usb_msd_scsi_info_bot, NULL);

    s->bus.qbus.allow_hotplug = 0;

    usb_msd_handle_reset(dev);

}

    s->bus.qbus.allow_hotplug = 0;
static void FUNC_0(USBDevice *VAR_0, Error **VAR_1)

{

    MSDState *s = DO_UPCAST(MSDState, VAR_0, VAR_0);



    usb_desc_create_serial(VAR_0);

    usb_desc_init(VAR_0);

    scsi_bus_new(&s->bus, sizeof(s->bus), DEVICE(VAR_0),

                 &usb_msd_scsi_info_bot, NULL);

    s->bus.qbus.allow_hotplug = 0;

    usb_msd_handle_reset(VAR_0);

}

static void FUNC_0(USBDevice *VAR_0, Error **VAR_1)
{ MSDState *s = DO_UPCAST(MSDState, VAR_0, VAR_0); usb_desc_create_serial(VAR_0); usb_desc_init(VAR_0); scsi_bus_new(&s->bus, sizeof(s->bus), DEVICE(VAR_0),
&usb_msd_scsi_info_bot, NULL); s->bus.qbus.allow_hotplug = 0; usb_msd_handle_reset(VAR_0); }