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] tap instead of file

To: "Randy McAnally" <rsm@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] tap instead of file
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Wed, 27 Aug 2008 16:43:49 -0400
Cc: xen-users list <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 27 Aug 2008 13:44:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=NijDUAAwMGMLlDvl7w/bgQGVbwtTVefPGXNSdv0hbVg=; b=Vjnsc2HYg8Un1EriTXEhNOVH2Jqf7aCs20xhJY49QWcxtvoVFwn3B04cvLNJztOjwp o1NFBYnpHEIB/F5WwOKEv8MGMPZ2xeqMlx3VW89uHf4vGh267L7dnKs+Khx7GsFiUdUU rTMbFObBHDJcUeP6JydEdBdanlnq9MFh5ANSQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=EzLtcnGRe9P9PALCE6G6aqjUyt1tstP7iSsHHB34y+j5dHvHgDSwQ9Ssh82mQ5kkBa IyuBf2K+C+n8Z546MlXQxVf6Lq1zkaaoly7ADeO8rdt6NxPIvjH1YYI4hQum2/A6pUJR 1iM2mMOZk1BXLYANKg7uAJZieHnpH8VU38LSU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080827145747.M68010@xxxxxxxxxxxxx>
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: <92afd6540808270538vfe6e44al830f6c8403fd8fcf@xxxxxxxxxxxxxx> <1219842778.6853.1208.camel@xxxxxxxxxxxxxxxxxxxxxxxxx> <92afd6540808270611y73c1ac0bn167792ed33ae4fe4@xxxxxxxxxxxxxx> <1219843158.6853.1212.camel@xxxxxxxxxxxxxxxxxxxxxxxxx> <92afd6540808270638h36e12b7cgf2f8c71dffcd0613@xxxxxxxxxxxxxx> <C1EAC9C5E752D24C968FF091D446D823241609@ALTERNATEREALIT> <92afd6540808270751v2c9499e2red84f6fca8831668@xxxxxxxxxxxxxx> <20080827145747.M68010@xxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Aug 27, 2008 at 11:01 AM, Randy McAnally <rsm@xxxxxxxxxxxxx> wrote:
> I'm running Xen 3.1.4 on CentOS 5 and am interested in switching the
> following disk to tap mode:
>
> disk = [ 'file:/vm/dns.img,ioemu:hda,w' ]
>
> However, everything I've tried fails (DomU won't boot).  Basically I'm
> trying to avoid Dom0 caching the reads and writes and get a little better
> performance.
>
> What is the correct syntax to enable tap mode?
>

You should be able to do
disk = [ 'tap:aio:/vm/dns.img,ioemu:hda,w' ]

Cheers,
Todd

> Thanks in advance.
>
> --
> Randy
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



-- 
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com

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