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-devel

Re: [Xen-devel] [PATCH] Remus: support both tap and tap2 style disk spec

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Remus: support both tap and tap2 style disk specs
From: Shriram Rajagopalan <rshriram@xxxxxxxxx>
Date: Thu, 17 Feb 2011 12:43:11 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 17 Feb 2011 12:44:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19805.28968.926985.531441@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <0ee537d24ca0fb0e5e74.1297922929@xxxxxxxxxxxxxxxxxxx> <19805.28968.926985.531441@xxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: rshriram@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Feb 17, 2011 at 11:04 AM, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote:
> Shriram Rajagopalan writes ("[Xen-devel] [PATCH] Remus: support both tap and 
> tap2 style disk specs"):
>> Remus: support both tap and tap2 style disk specs
>
> Thanks for this, but: where can I find documented what this disk spec
> string is supposed to look like ?  Ought this to be in
> docs/misc/xl-disk-configuration.txt ?
>
>> -        if not disk.uname.startswith('tap:remus:') and not 
>> disk.uname.startswith('tap:tapdisk:remus:'):
>> +        disktype = re.match("tap2?:.*(remus.*)\|", disk.uname)
>> +        if disktype == None:
>
> This seems quite a striking change.  What is the tap2 remus syntax
> like ?
>
There is no change in remus syntax.
remus part of the disk spec just requires "remus:BackupHost:Port|" to
immediately follow major driver name. so,

 disk= tap2:remus:BackupHost:Port|aio:volname ...

the problem is with the initial prefix "tap2:" string.
Which could be tap: or tap2: or tap:tapdisk or tap2:tapdisk based on
http://wiki.xensource.com/xenwiki/blktap2

Though as i noted in an earlier email, libxl doesnt accept tap2 while xend
accepts tap2.

shriram
> Ian.
>
>

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