On 02/12/10 15:23, Amit Shah wrote:
On (Fri) Feb 12 2010 [15:42:14], Michael S. Tsirkin wrote:
Since commit 98b19252cf1bd97c54bc4613f3537c5ec0aae263, all
serial devices declare MULTIPORT feature.
To allow 0.12 compatibility, we should clear this when
max_nr_ports is 1.
In addition to this, setting max_nr_ports to 1 is needed when -M 0.12 is
selected.
Indeed.
However, is this the only way to do it? Gerd?
Is there a qdev property for max_nr_ports? Then simply adding a compat
property will do the trick.
cheers,
Gerd