|
From: | Gerd Hoffmann |
Subject: | [Qemu-devel] Re: [PATCH] virtio-serial: don't set MULTIPORT for 1 port dev |
Date: | Mon, 15 Feb 2010 10:03:34 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |