This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] sda instead of xvda ?`

To: Tegger <xen@xxxxxxxxx>
Subject: Re: [Xen-users] sda instead of xvda ?`
From: Major Hayden <major+xen@xxxxxxxx>
Date: Mon, 2 Aug 2010 13:50:00 -0500
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 05 Aug 2010 06:49:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C56F78D.9070202@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4C475A27.90507@xxxxxxxxx> <1C41D43F-7990-4E61-8439-C661744C9B09@xxxxxxxx> <4C56F78D.9070202@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
You can download a tarball of the kernel source from kernel.org, or you can 
check out a copy via git.  Here are the basic steps:

  wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-
  tar xzf linux-
  cd linux-
  git apply pvops.diff

From there, you can proceed with building the kernel as you normally would.  
The "pvops.diff" referenced above is the diff attached to the original 
xen-devel e-mail I sent:


There are two parts to the diff: one part allows you to configure the block 
device names arbitrarily and the other part adjusts the hvc console in the same 
way.  You might want to remove the portion of the diff related to the console 
as it's probably not necessary for your system.

Major Hayden

On Aug 2, 2010, at 11:51, Tegger wrote:

> how should i patch the diff ?
> i haven't a/ and b/ directory....
> Am 22.07.2010 22:22, schrieb Major Hayden:
>> If you don't mind using a custom kernel, you can patch it [1] to ensure that 
>> your disks appear as sdX rather than xvdX.
>> [1] http://lists.xensource.com/archives/html/xen-devel/2010-05/msg00712.html
>> --
>> Major Hayden
>> major@xxxxxxxx
>> On Jul 21, 2010, at 15:35, Tegger wrote:
>>> Hi,
>>> how can i passthroughs HDD with sda instead of xvda ?
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-users

Xen-users mailing list