Il 17/03/2012 15:39, Hervé Poussineau ha scritto:
> +    qdev_prop_set_chr(&isa->qdev, "parallel", parallel_hds[0]);
> +    qdev_prop_set_chr(&isa->qdev, "uart1", serial_hds[0]);
> +    qdev_prop_set_chr(&isa->qdev, "uart2", serial_hds[1]);

Set these conditionally on *_hds[] being non-NULL, so that you can use
-chardev/-global on the command-line as an alternative to -serial/-parallel.

Paolo

Reply via email to