On 12/07/09 16:12, Alexander Graf wrote:
Well I was basically thinking of moving default_list inside the machine description. That way you can easily choose what default devices there are available.
Doesn't make sense. The list is not about *creating* default devices, but about *not* creating them.
Then make default_serial and friends visible to pc.c and just put the same code you have now in there. For other machines the default device list surely looks different.
ppc, sparc and x86 serial devices can happily live together in this list without causing any harm.
cheers, Gerd