Revision 1bbd185f
b/qemu-char.c | ||
---|---|---|
2506 | 2506 |
return NULL; |
2507 | 2507 |
} |
2508 | 2508 |
|
2509 |
if (qemu_opt_get(opts, "backend") == NULL) { |
|
2510 |
fprintf(stderr, "chardev: \"%s\" missing backend\n", |
|
2511 |
qemu_opts_id(opts)); |
|
2512 |
return NULL; |
|
2513 |
} |
|
2509 | 2514 |
for (i = 0; i < ARRAY_SIZE(backend_table); i++) { |
2510 | 2515 |
if (strcmp(backend_table[i].name, qemu_opt_get(opts, "backend")) == 0) |
2511 | 2516 |
break; |
Also available in: Unified diff