qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [PATCH 6/6] prep: use pc87312 Super I/O chip instead of c


From: Paolo Bonzini
Subject: Re: [Qemu-ppc] [PATCH 6/6] prep: use pc87312 Super I/O chip instead of collection of random ISA devices
Date: Sat, 17 Mar 2012 18:33:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1

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

[Prev in Thread] Current Thread [Next in Thread]