lkml.org 
[lkml]   [2010]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject[PATCH 0/2] A couple of workarounds for Xen based VPS services
Several Xen based VPS providers (Rackspace Cloud Servers, Slicehost,
and Amazon EC2 just to name a few) are faced with (at least :) ) two
problems with the current Xen support in the kernel.

Mostly, these problems stem from the fact that there are many different
guest distro's with very different levels of flexibility in terms of
being able to find its root device and in terms of being able to use an
hvc based console.

1. Most, if not all (because that's how the infrastructure has presented
things so far) expect to find their root device on (a partition on)
/dev/sda. However, without a patch to the current kernel, Xen block
devices will turn up as /dev/xvda.

2. Very few of the guest systems know to use hvc0 as its console if its
available. Instead of requiring all the guests to be changed, it's
simpler to just make any attempt to talk to /dev/tty1 actually talk
to hvc0.

These two patches add two new configuratin options that lets you work
around these problems. Enjoy.

Soren Hansen (2):
Allow hvc tty's to pose as vt's
Make the Xen block device prefix configurable

drivers/block/Kconfig | 10 ++++++++++
drivers/block/xen-blkfront.c | 2 +-
drivers/char/Kconfig | 9 ++++++++-
drivers/char/hvc_console.c | 9 +++++++++
4 files changed, 28 insertions(+), 2 deletions(-)



\
 
 \ /
  Last update: 2010-05-14 18:27    [W:0.054 / U:1.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site