DeviceState *qdev_create(BusState *bus, const char *name)

{

    DeviceState *dev;



    dev = qdev_try_create(bus, name);

    if (!dev) {

        hw_error("Unknown device '%s' for bus '%s'\n", name, bus->info->name);

    }



    return dev;

}

DeviceState *qdev_create(BusState *bus, const char *name)

{

    DeviceState *dev;



    dev = qdev_try_create(bus, name);

    if (!dev) {

        hw_error("Unknown device '%s' for bus '%s'\n", name, bus->info->name);

    }



    return dev;

}

        hw_error("Unknown device '%s' for bus '%s'\n", name, bus->info->name);
DeviceState *FUNC_0(BusState *bus, const char *name)

{

    DeviceState *dev;



    dev = qdev_try_create(bus, name);

    if (!dev) {

        hw_error("Unknown device '%s' for bus '%s'\n", name, bus->info->name);

    }



    return dev;

}

DeviceState *FUNC_0(BusState *bus, const char *name)
{ DeviceState *dev; dev = qdev_try_create(bus, name); if (!dev) { hw_error("Unknown device '%s' for bus '%s'\n", name, bus->info->name); } return dev; }