Amit Shah <amit.s...@redhat.com> writes:

> On (Wed) Dec 23 2009 [23:07:24], Markus Armbruster wrote:
[...]
>> What happens if you have both -device virtio-serial-pci and
>> -virtioconsole?
>
> Yeah; that's not recommended. But what would happen is two buses would
> get spawned and the console from -virtioconsole would get on one of
> them (bus #0).

It's a weird thing to do.  Perhaps less weird is the case where
virtio-serial-pci comes from a configuration file.

We could declare that -virtioconsole always creates a bus a feature, but
I can do that in good conscience only if the console created along with
it always gets attached to it, even when other suitable buses exist.
Possibly trivial if you act on -virtioconsole before generic devices
(-device & configuration file).

Or we could make it create virtio-serial-pci only if no suitable bus
exists already.  For that it needs to run after generic devices are set
up.


Reply via email to