Skip to contentSkip to conversation

Qcow2 support

DISCUSSION Aravindh Puthiyaparambil 3 participants 5 messages May 7, 2010 – Nov 8, 2010

lore
Share & tools
lore
#0 lore raw

Can someone tell me the status of qcow2 support existing today in Xen? What (code changes, tools etc) needs to be done to get it working today? I am trying to leverage it for use in VM snapshots. I was going through the Qcow Wiki<http://wiki.xensource.com/xenwiki/COWHowTo> and I see that it was last edited in 2007 so I am not sure how current all that info is.

Thanks,
Aravindh

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 6 lines · Aravindh Puthiyaparambil

Can someone tell me the status of qcow2 support existing today in Xen? What (code changes, tools etc) needs to be done to get it working today? I am trying to leverage it for use in VM snapshots. I was going through the [1]Qcow Wiki and I see that it was last edited in 2007 so I am not sure how current all that info is.

I think the focus has been on VHD support instead, which also has snapshots, and should work a lot better than qcow2, see:

http://wiki.xensource.com/xenwiki/Xen4.0
http://wiki.xensource.com/xenwiki/blktap2

-- Pasi

#2 lore raw

Hello,

Am Freitag 07 Mai 2010 20:34:58 schrieb Pasi Kärkkäinen:

Quoted 7 lines · Aravindh Puthiyaparambil
Quoted 5 lines

Can someone tell me the status of qcow2 support existing today in Xen? What (code changes, tools etc) needs to be done to get it working
today? I am trying to leverage it for use in VM snapshots. I was going through the [1]Qcow Wiki and I see that it was last edited in 2007 so I am not sure how current all that info is.

Quoted 5 lines

I think the focus has been on VHD support instead, which also has snapshots, and should work a lot better than qcow2, see:

http://wiki.xensource.com/xenwiki/Xen4.0
http://wiki.xensource.com/xenwiki/blktap2

Any news on Qcow2 support for Xen4?
Is someone working on it?

Sincerely
Philipp Hahn

Signature · 4 lines
Philipp Hahn           Open Source Software Engineer      [email protected]   
Univention GmbH        Linux for Your Business        fon: +49 421 22 232- 0
Mary-Somerville-Str.1  28359 Bremen                   fax: +49 421 22 232-99
                                                    http://www.univention.de

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 10 lines · Philipp Hahn

Hello,

Am Freitag 07 Mai 2010 20:34:58 schrieb Pasi Kärkkäinen:

Quoted 7 lines · Aravindh Puthiyaparambil
Quoted 5 lines

Can someone tell me the status of qcow2 support existing today in Xen? What (code changes, tools etc) needs to be done to get it working
today? I am trying to leverage it for use in VM snapshots. I was going through the [1]Qcow Wiki and I see that it was last edited in 2007 so I am not sure how current all that info is.

Quoted 9 lines
Quoted 5 lines

I think the focus has been on VHD support instead, which also has snapshots, and should work a lot better than qcow2, see:

http://wiki.xensource.com/xenwiki/Xen4.0
http://wiki.xensource.com/xenwiki/blktap2

Any news on Qcow2 support for Xen4?
Is someone working on it?

Hello,

Did you actually read the blktap2 wiki page?
It should work with Xen 4.0.

-- Pasi

#4 lore raw

Hello,

Quoted 1 line · On Monday November 08 2010 10:54:11 Pasi Kärkkäinen wrote:

On Mon, Nov 08, 2010 at 10:31:03AM +0100, Philipp Hahn wrote:

thank you for your fast answer,

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

http://wiki.xensource.com/xenwiki/blktap2

Any news on Qcow2 support for Xen4?
Is someone working on it?

Did you actually read the blktap2 wiki page?

Yes, I tried to parse it but maybe I misunderstood something:
For xen-4.0.0 it's taking about "tap:qcow2:/path",
For xen-4.0.1 it's suddenly taking about "tap2:tapdisk:XXX:/path"

Also from reading xen-4.0.1/tools/blktap2/drivers/block-qcow.c:927

Quoted 6 lines
        case 2:
          //TODO: Port qcow2 to new blktap framework.
          //            close(fd);
          //            dd->drv = &tapdisk_qcow2;
          //            return dd->drv->td_open(dd, name, flags);
          goto fail;

So maybe I'm just confused about blktap[12] and the sudden naming change with tap/tap2.

Quoted 1 line

It should work with Xen 4.0.

Maybe I asked my question wrong: Is qcow2 working with xen4-aio or what is currently best practice using qcow2?
To give some context: Mainly I'm interesed in finding a suitable image format, which supports base-images for copy-on-write (and probably snap-shots).

Sicnerely
Philipp Hahn

Signature · 4 lines
Philipp Hahn           Open Source Software Engineer      [email protected]   
Univention GmbH        Linux for Your Business        fon: +49 421 22 232- 0
Mary-Somerville-Str.1  28359 Bremen                   fax: +49 421 22 232-99
                                                    http://www.univention.de

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel