lkml.org 
[lkml]   [2010]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] Make the Xen block device prefix configurable
On Fri, 14 May 2010 18:10:48 +0200 Soren Hansen wrote:

> Add a config option to tweak the Xen block device prefix.
>
> Signed-off-by: Soren Hansen <soren@linux2go.dk>
> Tested-By: Major Hayden <major.hayden@rackspace.com>
> ---
> drivers/block/Kconfig | 10 ++++++++++
> drivers/block/xen-blkfront.c | 2 +-
> 2 files changed, 11 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
> index 1d886e0..89c1887 100644
> --- a/drivers/block/Kconfig
> +++ b/drivers/block/Kconfig
> @@ -467,6 +467,16 @@ config XEN_BLKDEV_FRONTEND
> block device driver. It communicates with a back-end driver
> in another domain which drives the actual block device.
>
> +config XEN_BLKDEV_NAME
> + string "Base name for Xen block devices"
> + depends on XEN_BLKDEV_FRONTEND
> + default "xvd"
> + help
> + Use this as the base name for Xen block devices. This is
> + traditionally "xvd", but if you're trying to boot a system
> + that expects to find its root device on /dev/sda, you can
> + use this setting to accomodate that.

accommodate

> +
> config VIRTIO_BLK
> tristate "Virtio block driver (EXPERIMENTAL)"
> depends on EXPERIMENTAL && VIRTIO


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***


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