Revision b386becf vl.c
b/vl.c | ||
---|---|---|
5359 | 5359 |
add_device_config(DEV_USB, optarg); |
5360 | 5360 |
break; |
5361 | 5361 |
case QEMU_OPTION_device: |
5362 |
opts = qemu_opts_parse(&qemu_device_opts, optarg, "driver"); |
|
5363 |
if (!opts) { |
|
5364 |
fprintf(stderr, "parse error: %s\n", optarg); |
|
5362 |
if (!qemu_opts_parse(&qemu_device_opts, optarg, "driver")) { |
|
5365 | 5363 |
exit(1); |
5366 | 5364 |
} |
5367 | 5365 |
break; |
Also available in: Unified diff