qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/3] virtio-console: Add a virtio-serial bus, su


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 2/3] virtio-console: Add a virtio-serial bus, support for multiple devices and ports
Date: Thu, 24 Dec 2009 09:26:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Amit Shah <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]