WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] blktap on debian

To: Jonathan Selander <jonathan@xxxxxxxxx>
Subject: Re: [Xen-users] blktap on debian
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Sat, 14 Apr 2007 23:35:37 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 14 Apr 2007 15:34:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46214D7E.9000202@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <46214D7E.9000202@xxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Sat, Apr 14, 2007 at 11:54:06PM +0200, Jonathan Selander wrote:
> Hello,
> 
> I run xen 3.0.3 on Debian 4.0 and so far I've got 5 guests. I've read in 
> the user documentation that it's better to use blktap than loopback, 
> because of performance reasons, so i decided to switch to it. However, 
> the root device isn't found by the guest system. I read something about 
> CONFIG_XEN_BLKDEV_TAP being needed in the kernel for it to work, is that 
> true? I have
> 
> CONFIG_XEN_BLKDEV_BACKEND=y
> # CONFIG_XEN_BLKDEV_TAP is not set
> CONFIG_XEN_BLKDEV_FRONTEND=y

Yeah, I believe it should be set to 

  CONFIG_XEN_BLKDEV_TAP=m

If it was working, you'd also get a 'blktapctrl' daemon spawned by Xen. If
you look at syslog you'll probably find blktapctrl trying to start and 
failing to initialize if blktap support was missing in kernel.

> The guest config disk line looks like this:
> 
> disk    = [ 'tap:aio:/var/xen/domains/ac/disk.img,sda1,w', 
> 'tap:aio:/var/xen/domains/ac/swap.img,sda2,w' ]

That's the correct config file syntax.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>