[lkml]   [2006]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH 29/35] Add the Xen virtual console driver.

On 22 Mar 2006, at 16:00, Anthony Liguori wrote:

> This has always seemed a bit wrong to me and makes a number of things
> kind of awkward (like a virtual video driver).
> It would seem better me to treat this driver as what it really is, a
> virtual serial device. It adds a little bit of additional work to the
> userspace tools (they just have to make sure to pass console=ttyS0)
> but it seems worth it.

That already works pretty much (userspace tools have to pass
xencons=ttyS as well as console=ttyS0).

> We could also solve the tty[0-9] problem by implementing a proper
> console driver that could use multiple virtual serial devices if we
> wanted to go that route.

Yes, that could live alongside this driver.

> Another option would be to just emulate a serial driver. The console
> driver isn't really performance critical. It seems to me that it's a
> bit unnecessary to even bother paravirtualizing the console device
> when it's so easy to emulate.

Easy except that Xen can't implement the 'console backend', or at least
not easily. The console bits need to end up in management virtual
machine's user space. We'd have to do something skanky like the current
HVM qemu model.

-- Keir

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-03-22 17:09    [W:0.091 / U:15.540 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site