Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-09-06 Thread Stefan Hajnoczi
On Tue, Sep 05, 2017 at 01:46:24PM +0200, Kevin Wolf wrote: > Am 22.08.2017 um 21:07 hat John Snow geschrieben: > > Well, we knew we'd want this sooner or later. I've got some pings > > downstream over whether or not we support persistent bitmaps for > > non-qcow2 formats. > > > > Currently: no, w

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-09-05 Thread Kevin Wolf
Am 05.09.2017 um 15:39 hat Fam Zheng geschrieben: > On Tue, 09/05 15:27, Kevin Wolf wrote: > > Am 05.09.2017 um 15:18 hat Fam Zheng geschrieben: > > > On Tue, 09/05 15:01, Kevin Wolf wrote: > > > > Am 28.08.2017 um 04:57 hat Fam Zheng geschrieben: > > > > > On Fri, 08/25 15:44, Max Reitz wrote: > >

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-09-05 Thread Fam Zheng
On Tue, 09/05 15:27, Kevin Wolf wrote: > Am 05.09.2017 um 15:18 hat Fam Zheng geschrieben: > > On Tue, 09/05 15:01, Kevin Wolf wrote: > > > Am 28.08.2017 um 04:57 hat Fam Zheng geschrieben: > > > > On Fri, 08/25 15:44, Max Reitz wrote: > > > > > Well, OK. The main argument against supporting anyth

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-09-05 Thread Kevin Wolf
Am 05.09.2017 um 15:18 hat Fam Zheng geschrieben: > On Tue, 09/05 15:01, Kevin Wolf wrote: > > Am 28.08.2017 um 04:57 hat Fam Zheng geschrieben: > > > On Fri, 08/25 15:44, Max Reitz wrote: > > > > Well, OK. The main argument against supporting anything but qcow2 is > > > > "if you want features, u

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-09-05 Thread Fam Zheng
On Tue, 09/05 15:01, Kevin Wolf wrote: > Am 28.08.2017 um 04:57 hat Fam Zheng geschrieben: > > On Fri, 08/25 15:44, Max Reitz wrote: > > > Well, OK. The main argument against supporting anything but qcow2 is > > > "if you want features, use qcow2; and we are working on making qcow2 as > > > fast a

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-09-05 Thread Kevin Wolf
Am 23.08.2017 um 19:44 hat John Snow geschrieben: > On 08/23/2017 01:31 PM, Max Reitz wrote: > > On 2017-08-22 21:07, John Snow wrote: > > > > [...] > > > >> (3) Add either a new flag that turns qcow2's backing file into a full > >> R/W backing file, or add a new extension to qcow2 entirely (bypa

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-09-05 Thread Kevin Wolf
Am 28.08.2017 um 04:57 hat Fam Zheng geschrieben: > On Fri, 08/25 15:44, Max Reitz wrote: > > Well, OK. The main argument against supporting anything but qcow2 is > > "if you want features, use qcow2; and we are working on making qcow2 as > > fast as possible." I think that's a very good argument

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-09-05 Thread Kevin Wolf
Am 22.08.2017 um 21:07 hat John Snow geschrieben: > Well, we knew we'd want this sooner or later. I've got some pings > downstream over whether or not we support persistent bitmaps for > non-qcow2 formats. > > Currently: no, we don't. I was going to write some things about r/w backing file, and I

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-31 Thread Yaniv Lavi (Dary)
YANIV LAVI (YANIV DARY) SENIOR TECHNICAL PRODUCT MANAGER Red Hat Israel Ltd. 34 Jerusalem Road, Building A, 1st floor Ra'anana, Israel 4350109 yl...@redhat.comT: +972-9-7692306/8272306 F: +972-9-7692223IM: ylavi TRIED. TESTED. TRUSTED

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-30 Thread John Snow
On 08/30/2017 08:58 AM, Yaniv Lavi (Dary) wrote: > > > We had no reason to switch to anything else so far and I'm sure this > option was not available when we started supporting raw format. > > Yeah, they don't exist yet...! I've looped you in to see if the proposal being discussed would a

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-30 Thread Yaniv Lavi (Dary)
YANIV LAVI (YANIV DARY) SENIOR TECHNICAL PRODUCT MANAGER Red Hat Israel Ltd. 34 Jerusalem Road, Building A, 1st floor Ra'anana, Israel 4350109 yl...@redhat.comT: +972-9-7692306/8272306 F: +972-9-7692223IM: ylavi TRIED. TESTED. TRUSTED

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-30 Thread Max Reitz
On 2017-08-29 23:02, John Snow wrote: > > > On 08/29/2017 10:30 AM, Eric Blake wrote: >> On 08/28/2017 08:18 PM, John Snow wrote: > We'd have to develop a new syntax for specifying these resources that > can be stored in a qcow2 file, It's called the json-pseudo-protocol and was

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-30 Thread Max Reitz
On 2017-08-29 03:18, John Snow wrote: > > > On 08/25/2017 09:44 AM, Max Reitz wrote: >> On 2017-08-25 02:55, John Snow wrote: [...] >>> In (1), we avoid saving or specifying the relationship between these two >>> data stores in any way. This is certainly easy to do, and will save us >>> some he

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-30 Thread Max Reitz
On 2017-08-29 11:26, Yaniv Lavi (Dary) wrote: > > > YANIV LAVI (YANIV DARY) > > SENIOR TECHNICAL PRODUCT MANAGER > > Red Hat Israel Ltd. > > 34 Jerusalem Road, Building A, 1st floor > > Ra'anana, Israel 4350109 > > yl...@redhat.com     T: +9

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-29 Thread John Snow
On 08/29/2017 10:30 AM, Eric Blake wrote: > On 08/28/2017 08:18 PM, John Snow wrote: We'd have to develop a new syntax for specifying these resources that can be stored in a qcow2 file, >>> >>> It's called the json-pseudo-protocol and was developed exactly for this. >>> >> >> That's wha

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-29 Thread Eric Blake
On 08/28/2017 08:18 PM, John Snow wrote: >>> We'd have to develop a new syntax for specifying these resources that >>> can be stored in a qcow2 file, >> >> It's called the json-pseudo-protocol and was developed exactly for this. >> > > That's what I was hinting at for "or otherwise co-opt an exist

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-29 Thread Yaniv Lavi (Dary)
YANIV LAVI (YANIV DARY) SENIOR TECHNICAL PRODUCT MANAGER Red Hat Israel Ltd. 34 Jerusalem Road, Building A, 1st floor Ra'anana, Israel 4350109 yl...@redhat.comT: +972-9-7692306/8272306 F: +972-9-7692223IM: ylavi TRIED. TESTED. TRUSTED

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-28 Thread John Snow
On 08/25/2017 09:44 AM, Max Reitz wrote: > On 2017-08-25 02:55, John Snow wrote: >> Sorry in advance for :words: ... >> >> On 08/23/2017 02:04 PM, Vladimir Sementsov-Ogievskiy wrote: >>> 23.08.2017 11:59, Vladimir Sementsov-Ogievskiy wrote: 22.08.2017 22:07, John Snow wrote: [snip] >>

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-28 Thread John Snow
On 08/27/2017 10:57 PM, Fam Zheng wrote: > On Fri, 08/25 15:44, Max Reitz wrote: >> Well, OK. The main argument against supporting anything but qcow2 is >> "if you want features, use qcow2; and we are working on making qcow2 as >> fast as possible." I think that's a very good argument still. A

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-27 Thread Fam Zheng
On Fri, 08/25 15:44, Max Reitz wrote: > Well, OK. The main argument against supporting anything but qcow2 is > "if you want features, use qcow2; and we are working on making qcow2 as > fast as possible." I think that's a very good argument still. At some > point I (and probably others, too) had

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-25 Thread Max Reitz
On 2017-08-25 02:55, John Snow wrote: > Sorry in advance for :words: ... > > On 08/23/2017 02:04 PM, Vladimir Sementsov-Ogievskiy wrote: >> 23.08.2017 11:59, Vladimir Sementsov-Ogievskiy wrote: >>> 22.08.2017 22:07, John Snow wrote: Well, we knew we'd want this sooner or later. I've got some

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-25 Thread Vladimir Sementsov-Ogievskiy
25.08.2017 03:55, John Snow wrote: Sorry in advance for :words: ... On 08/23/2017 02:04 PM, Vladimir Sementsov-Ogievskiy wrote: 23.08.2017 11:59, Vladimir Sementsov-Ogievskiy wrote: 22.08.2017 22:07, John Snow wrote: Well, we knew we'd want this sooner or later. I've got some pings downstream

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-24 Thread John Snow
Sorry in advance for :words: ... On 08/23/2017 02:04 PM, Vladimir Sementsov-Ogievskiy wrote: > 23.08.2017 11:59, Vladimir Sementsov-Ogievskiy wrote: >> 22.08.2017 22:07, John Snow wrote: >>> Well, we knew we'd want this sooner or later. I've got some pings >>> downstream over whether or not we sup

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-23 Thread Vladimir Sementsov-Ogievskiy
23.08.2017 21:04, Vladimir Sementsov-Ogievskiy wrote: 23.08.2017 11:59, Vladimir Sementsov-Ogievskiy wrote: 22.08.2017 22:07, John Snow wrote: Well, we knew we'd want this sooner or later. I've got some pings downstream over whether or not we support persistent bitmaps for non-qcow2 formats. C

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-23 Thread Vladimir Sementsov-Ogievskiy
23.08.2017 11:59, Vladimir Sementsov-Ogievskiy wrote: 22.08.2017 22:07, John Snow wrote: Well, we knew we'd want this sooner or later. I've got some pings downstream over whether or not we support persistent bitmaps for non-qcow2 formats. Currently: no, we don't. We tried two different ideas f

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-23 Thread John Snow
On 08/23/2017 01:31 PM, Max Reitz wrote: > On 2017-08-22 21:07, John Snow wrote: > > [...] > >> (3) Add either a new flag that turns qcow2's backing file into a full >> R/W backing file, or add a new extension to qcow2 entirely (bypassing >> the traditional backing file mechanism to avoid confu

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-23 Thread Max Reitz
On 2017-08-22 21:07, John Snow wrote: [...] > (3) Add either a new flag that turns qcow2's backing file into a full > R/W backing file, or add a new extension to qcow2 entirely (bypassing > the traditional backing file mechanism to avoid confusion for older > tooling) that adds a new read-write b

Re: [Qemu-devel] Persistent bitmaps for non-qcow2 formats

2017-08-23 Thread Vladimir Sementsov-Ogievskiy
22.08.2017 22:07, John Snow wrote: Well, we knew we'd want this sooner or later. I've got some pings downstream over whether or not we support persistent bitmaps for non-qcow2 formats. Currently: no, we don't. We tried two different ideas for storage agnostic bitmap persistence: (1) Using qco