Skip to content

A couple of workarounds for Xen based VPS services

Soren Hansen lkml 1 version NAK

Status from this message: NAK.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/2Allow hvc tty's to pose as vt'sdrivers/char/Kconfig drivers/char/hvc_console.c+17 -13 replies
2/2Make the Xen block device prefix configurabledrivers/block/Kconfig drivers/block/xen-blkfront.c+11 -11 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchMajor Hayden
1/2T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [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(-)