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

[Xen-devel] Re: 3.0.3rc3 qcow image created with qemu-img not usable?

To: Timo Benk <timo.benk@xxxxxx>
Subject: [Xen-devel] Re: 3.0.3rc3 qcow image created with qemu-img not usable?
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Thu, 12 Oct 2006 08:02:51 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 12 Oct 2006 06:03:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <452DFFE9.20606@xxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <452DFFE9.20606@xxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (X11/20060918)
You cannot attach block devices to Domain-0. Furthermore, you cannot attach non-raw file-based block devices to paravirtual domains.

Regards,

Anthony Liugoir

Timo Benk wrote:
Hi,

i am new to the qcow image format, so please forgive me if the following
is just totally stupid:-)

I try to use a qcow formatted image in Xen created by qemu-img.

# qemu-img create -f qcow /tmp/test.img 1G

Then i try to attach that image to Domain-0.

# xm block-attach Domain-0 tap:qcow:/tmp/test.img /dev/xvda1 w 0

No error message so far, but ...

# mount /dev/xvda1 /mnt
mount: special device /dev/xvda1 does not exist

# xm block-list Domain-0
Vdev  BE handle state evt-ch ring-ref BE-path
51714    0    0     3      23     8
  /local/domain/0/backend/tap/0/51714

# xm block-detach Domain-0 /dev/xvda1

# xm block-list Domain-0
Vdev  BE handle state evt-ch ring-ref BE-path
51714    0    0     3      23     8
  /local/domain/0/backend/tap/0/51714

qcow images created with qcow-create are working without any problems.

And a few additional questions i have:

- Is qcow encryption supported?
- is qcow compression supported?

Greetings,
-timo



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