|
From: | Gerd Hoffmann |
Subject: | [Qemu-devel] Re: [FOR 0.12 PATCH v3 05/21] default devices: core code & serial lines. |
Date: | Mon, 07 Dec 2009 17:05:57 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |