[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.