Re: [Qemu-devel] [PATCH 6/6] prep: use pc87312 Super I/O chip instead of collection of random ISA devices

2012-03-17 Thread Paolo Bonzini
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 tha

[Qemu-devel] [PATCH 6/6] prep: use pc87312 Super I/O chip instead of collection of random ISA devices

2012-03-17 Thread Hervé Poussineau
We can't however replace the built-in IDE controller, as the one in pc87312 is only single-channel and can use only IRQ 14. Cc: Andreas Färber Signed-off-by: Hervé Poussineau --- default-configs/ppc-softmmu.mak |2 + hw/ppc_prep.c | 50 ++-