Revision ff952ba2 vl.c

b/vl.c
4459 4459
    return buf;
4460 4460
}
4461 4461

  
4462
static int device_help_func(QemuOpts *opts, void *opaque)
4463
{
4464
    return qdev_device_help(opts);
4465
}
4466

  
4462 4467
static int device_init_func(QemuOpts *opts, void *opaque)
4463 4468
{
4464 4469
    DeviceState *dev;
......
5828 5833

  
5829 5834
    module_call_init(MODULE_INIT_DEVICE);
5830 5835

  
5836
    if (qemu_opts_foreach(&qemu_device_opts, device_help_func, NULL, 0) != 0)
5837
        exit(0);
5838

  
5831 5839
    if (watchdog) {
5832 5840
        i = select_watchdog(watchdog);
5833 5841
        if (i > 0)

Also available in: Unified diff