qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communic


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication
Date: Fri, 14 Aug 2009 15:49:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 08/14/09 10:15, Amit Shah wrote:
The guest code sort-of ends up looking like this after merging
virtio_console into virtio_serial.

I think it should better go the other way around: add multichannel support to virtio-concole, probably guarded by a feature flag so old host+new guest and new host+old guest combinations continue to work.

Since there's support for only one console as of now, I've assigned port
#2 as the console port so that we hook into hvc when a port is found at
that location.

Doesn't sound like this is going to be backward compatible ...

Also I still think passing a 'protocol' string for each port is a good idea, so you can stick that into a sysfs file for guests use.

Note it is probably easy to make virtio-console support multiple hvc lines by having one protocol for that (named 'console' for example).

cheers,
  Gerd





reply via email to

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