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] blktap/blktap2: Fix for incorrect parse disk con

To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, eXeC001er <execooler@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] blktap/blktap2: Fix for incorrect parse disk configuration (xen-unstable)
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Sun, 11 Jul 2010 01:57:11 -0700 (PDT)
Cc:
Delivery-date: Sun, 11 Jul 2010 01:59:20 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1278838631; bh=xOm/wgZuy1f5GhIYeZxV6gpTvdRv0Z60gXxQ5/ud5Wg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=6PrCI5n+q1hyBD4pUH+8BpSBLY5Ro7Gu/LBr6bo7nBZqLjAbeL/wddj2zHhqAnkqxzIhMvSi2vitr1OkvbhxqF14FQ2Jbxgr6vtiovhMWBdSVrjqz7a2gIwGg0+orbbqzibbxowisyeIIhuTtumCM1uT/4CrIiCoZMgGgFsMAaI=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=af7yGY2mCBX1R6lzlwY5N8BZSrJV4ANGnGB8d7VnTq4v9wugEOUnHr1A7IPrLcyZEhQUn8nX8+xzP9GcRXjWfmCYLoDG4ZKqFKBbPrfGhw0lc18hlrFDskCGJN5mQRtCFPds5WOAGiP4OeF2gexic1A5zo4V+gtDKwTY8xFYB8c=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
After patching xen-unstable (changeset:   21769:a672af698bc3)
Rebuilt and reinstalled xen&tools.
Changed  "tap2:tapdisk:vhd" to "tap:vhd"

root@ServerLSX:~/NexentaStor-Community-3.0.2# xm create -c  nexentastor-3.0.2-xen.cfg
Using config file "./nexentastor-3.0.2-xen.cfg".
root@ServerLSX:~/NexentaStor-Community-3.0.2# Error: Device 51952 not connected

root@ServerLSX:/usr/local/NexentaStor-Community-3.0.2# xm create -c  nexentastor-3.0.2-xen.cfg
Using config file "./nexentastor-3.0.2-xen.cfg".
Error: Device /dev/xvdp (51952, tap2) is already connected.

Boris.

--- On Sun, 7/11/10, eXeC001er <execooler@xxxxxxxxx> wrote:

From: eXeC001er <execooler@xxxxxxxxx>
Subject: [Xen-devel] [PATCH] blktap/blktap2: Fix for incorrect parse disk configuration (xen-unstable)
To: "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Sunday, July 11, 2010, 4:16 AM

Current source-code work if use following configuration:
config example:    disk=['tap:vhd:/path/../disk.img,xvda,w']

but not work if use:
config example:    disk=['tap:tapdisk:vhd:/path/../disk.img,xvda,w']
Error during start DomU:    File 'vhd:/path/.../disk.img' doesn't exist.

this patch fix this bug.

Signed-off-by: eXeC001er <execooler@xxxxxxxxx>

Thanks.

-----Inline Attachment Follows-----

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

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