Revision c7e4e8ce hw/qdev.c
b/hw/qdev.c | ||
---|---|---|
766 | 766 |
{ |
767 | 767 |
QemuOpts *opts; |
768 | 768 |
|
769 |
opts = qemu_opts_parse(&qemu_device_opts, |
|
770 |
qdict_get_str(qdict, "config"), 1); |
|
769 |
opts = qemu_opts_from_qdict(&qemu_device_opts, qdict); |
|
771 | 770 |
if (opts) { |
772 | 771 |
if (qdev_device_help(opts) || qdev_device_add(opts) == NULL) { |
773 | 772 |
qemu_opts_del(opts); |
Also available in: Unified diff