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

Re: [Xen-users] blktap2 and qcow2 images

Hi Thanos,

thanks for responding. I don't have access to the code. Could you by any chance quote a list of supported formats here.


On 10/05/2013 2:49 AM, "Thanos Makatos" <thanos.makatos@xxxxxxxxxx> wrote:
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxx [mailto:xen-users-
> bounces@xxxxxxxxxxxxx] On Behalf Of Sebastian Unger
> Sent: 08 May 2013 23:03
> To: xen-users@xxxxxxxxxxxxx
> Subject: [Xen-users] blktap2 and qcow2 images
> Hi There,
> I've been trying to get this to work for the last couple of days, but
> found no information on the internet that would help. Essentially, a
> tap-ctl open command with a qcow2 image does not work (error code 2)
> and produces the following line in syslog:
> tap-ctl: tap-err:tap_ctl_open: open failed, err -2
> I have attached a shell script that reproduces the problem on my
> machine. The same script works fine if I use image format raw and the
> aio: prefex to the -a option.
> My machine is basically a clean Ubuntu 12.04 desktop 64bit machine with
> everything up to date.
> Cheers,
> Seb

AFAIK blktap2.5 does not support qcow2. I grep'ed in xen-unstable.hg/tools/blktap2 for "qcow2" and didn't find anything, so I believe blktap2 doesn't support qcow2 either. The "-2" error you're getting stands for ENOENT, so I think is tapdisk complaining it can't find the driver for qcow2 (not the image file). The examples in http://wiki.xen.org/wiki/Blktap2 insinuate that qcow2 is supported, anybody knows anything about that?
Xen-users mailing list



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