linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] A couple of workarounds for Xen based VPS services
@ 2010-05-14 16:11 Soren Hansen
  2010-05-14 16:10 ` [PATCH 1/2] Allow hvc tty's to pose as vt's Soren Hansen
  2010-05-14 16:10 ` [PATCH 2/2] Make the Xen block device prefix configurable Soren Hansen
  0 siblings, 2 replies; 7+ messages in thread
From: Soren Hansen @ 2010-05-14 16:11 UTC (permalink / raw)
  To: linux-kernel

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(-)


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-05-18 21:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-14 16:11 [PATCH 0/2] A couple of workarounds for Xen based VPS services Soren Hansen
2010-05-14 16:10 ` [PATCH 1/2] Allow hvc tty's to pose as vt's Soren Hansen
2010-05-14 16:43   ` Alan Cox
2010-05-14 16:50     ` Soren Hansen
2010-05-18 21:26   ` Valdis.Kletnieks
2010-05-14 16:10 ` [PATCH 2/2] Make the Xen block device prefix configurable Soren Hansen
2010-05-14 16:29   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).