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] qcow problems

To: "Marcel Ritter" <Marcel.Ritter@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] qcow problems
From: "Andrew Warfield" <andrew.warfield@xxxxxxxxxxxx>
Date: Tue, 14 Nov 2006 12:38:08 -0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 14 Nov 2006 12:38:23 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=H1pjAMCFEJTLHStOhNcOGYJTV+WmUG/MjwhvYEWME0CzYcHoq2STXb7WOn+14lYIWt5x7tESeqPkf7LRQS9UCfe44Ae0PpRTmPwPgMoEMvFvFKED5rmo4F0joIg6Jf17wxsEtDoH3p1IC4WBS2LVFw/FJHFAZvAz+bNPb3pQYRY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4549E8E4.3020304@xxxxxxxxxxxxxxxxxxxx>
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: <454766D4.6080509@xxxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B018E16A0@xxxxxxxxxxxxxxxxx> <6b4bb8650611020401h29a59b6ap993fa88a60f64128@xxxxxxxxxxxxxx> <4549E8E4.3020304@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Marcel,

  just noticed your post on this.  You are right -- a patch to
security.py broke blktap disk name parsing.  I've just checked in a
fix.

a.

On 11/2/06, Marcel Ritter <Marcel.Ritter@xxxxxxxxxxxxxxxxxxxx> wrote:
Hi!

Can someone please post a working qcow image setup? Is it currently possible
to use the "copy on write" feature, and if so how?

I'm trying to get this running (with Xen unstable), but the
documentation seems
to be out of date or incorrect.

According to tools/blktap/README it should be possible to add qcow images
to dom 0 by running:

linux# xm block-attach 0 tap:qcow:/tmp/hda /dev/xvda1 w 0

However this results in the error message:

Error: "Resource spec 'tap:qcow:/tmp/hda' contains no ':' delimiter"

The reason seems to be located in tools/python/xen/util/security.py:

...
    # sanity check on resource name
    try:
        (type, resfile) = resource.split(":")
    except:
        err("Resource spec '%s' contains no ':' delimiter" % resource)
...

As far as I understand python, this causes an exception if the number
of ':'s is not 1. Perhaps this is the reason for "xm create" to fail
when using

...
disk = [ 'tap:qcow:/tmp/hda,w']
....

in the VM config file (example from tools/blktap/README)

So what's the correct way to set this up?

Hope someone can help.

TIA,
   Marcel

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


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