From 74e1569f1b53e038a014742e4b398efddd7e1a9d Mon Sep 17 00:00:00 2001
From: Stefan Bader <stefan.bader@canonical.com>
Date: Wed, 5 Jan 2011 10:02:14 +0100
Subject: [PATCH] Revert "UBUNTU: SAUCE: blkfront: default to sd devices"
This reverts commit 38096c28f13d0c2dd08584ff834da6d81306c7b3. When using
PV on HVM the emulated devices can in some cases stay present and then
lead to a kernel bug because both the real and the virtual driver try
to use the sd* namespace.
Originally this patch was needed because EC2 passed sd* names to the
instance for the root device. Since we now use a label instead of the
block device name we can drop this patch and be more upstream compliant.
BugLink: http://bug.launchpad.net/bugs/684875
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
---
drivers/block/xen-blkfront.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
@@ -123,7 +123,7 @@ static DEFINE_SPINLOCK(minor_lock);
#define VDEV_IS_EXTENDED(dev) ((dev)&(EXTENDED))
#define BLKIF_MINOR_EXT(dev) ((dev)&(~EXTENDED))
-#define DEV_NAME "sd" /* name in /dev */
+#define DEV_NAME "xvd" /* name in /dev */
static int get_id_from_freelist(struct blkfront_info *info)
{
--
1.7.0.4