Re: [Qemu-devel] blobstore disk format (was Re: Design of the blobstore)

2011-10-02 Thread Michael S. Tsirkin
On Wed, Sep 28, 2011 at 11:48:19AM -0400, Stefan Berger wrote: > On 09/22/2011 02:37 AM, Michael S. Tsirkin wrote: > >On Wed, Sep 21, 2011 at 09:44:37PM -0400, Stefan Berger wrote: > >>On 09/19/2011 03:04 PM, Michael S. Tsirkin wrote: > >>>On Mon, Sep 19, 2011 at 12:22:02PM -0400, Stefan Berger wro

Re: [Qemu-devel] blobstore disk format (was Re: Design of the blobstore)

2011-09-28 Thread Stefan Berger
On 09/28/2011 11:50 AM, Daniel P. Berrange wrote: On Wed, Sep 28, 2011 at 11:48:19AM -0400, Stefan Berger wrote: On 09/22/2011 02:37 AM, Michael S. Tsirkin wrote: I'm guessing that if we find a correct ber structure in the file, this most likely means the key is correct. [I still would add at

Re: [Qemu-devel] blobstore disk format (was Re: Design of the blobstore)

2011-09-28 Thread Daniel P. Berrange
On Wed, Sep 28, 2011 at 11:48:19AM -0400, Stefan Berger wrote: > On 09/22/2011 02:37 AM, Michael S. Tsirkin wrote: > >On Wed, Sep 21, 2011 at 09:44:37PM -0400, Stefan Berger wrote: > >>On 09/19/2011 03:04 PM, Michael S. Tsirkin wrote: > >>>On Mon, Sep 19, 2011 at 12:22:02PM -0400, Stefan Berger wro

Re: [Qemu-devel] blobstore disk format (was Re: Design of the blobstore)

2011-09-28 Thread Stefan Berger
On 09/22/2011 02:37 AM, Michael S. Tsirkin wrote: On Wed, Sep 21, 2011 at 09:44:37PM -0400, Stefan Berger wrote: On 09/19/2011 03:04 PM, Michael S. Tsirkin wrote: On Mon, Sep 19, 2011 at 12:22:02PM -0400, Stefan Berger wrote: On 09/17/2011 03:28 PM, Michael S. Tsirkin wrote: On Fri, Sep 16, 2

Re: [Qemu-devel] blobstore disk format (was Re: Design of the blobstore)

2011-09-21 Thread Michael S. Tsirkin
On Wed, Sep 21, 2011 at 09:44:37PM -0400, Stefan Berger wrote: > On 09/19/2011 03:04 PM, Michael S. Tsirkin wrote: > >On Mon, Sep 19, 2011 at 12:22:02PM -0400, Stefan Berger wrote: > >>On 09/17/2011 03:28 PM, Michael S. Tsirkin wrote: > >>>On Fri, Sep 16, 2011 at 12:46:40PM -0400, Stefan Berger wro

Re: [Qemu-devel] blobstore disk format (was Re: Design of the blobstore)

2011-09-21 Thread Stefan Berger
On 09/19/2011 03:04 PM, Michael S. Tsirkin wrote: On Mon, Sep 19, 2011 at 12:22:02PM -0400, Stefan Berger wrote: On 09/17/2011 03:28 PM, Michael S. Tsirkin wrote: On Fri, Sep 16, 2011 at 12:46:40PM -0400, Stefan Berger wrote: The checksuming I think makes sense if encryption is being added so

Re: [Qemu-devel] blobstore disk format (was Re: Design of the blobstore)

2011-09-19 Thread Michael S. Tsirkin
On Mon, Sep 19, 2011 at 12:22:02PM -0400, Stefan Berger wrote: > On 09/17/2011 03:28 PM, Michael S. Tsirkin wrote: > >On Fri, Sep 16, 2011 at 12:46:40PM -0400, Stefan Berger wrote: > >>On 09/16/2011 10:44 AM, Michael S. Tsirkin wrote: > >>>On Thu, Sep 15, 2011 at 10:33:13AM -0400, Stefan Berger wro

Re: [Qemu-devel] blobstore disk format (was Re: Design of the blobstore)

2011-09-19 Thread Stefan Berger
On 09/17/2011 03:28 PM, Michael S. Tsirkin wrote: On Fri, Sep 16, 2011 at 12:46:40PM -0400, Stefan Berger wrote: On 09/16/2011 10:44 AM, Michael S. Tsirkin wrote: On Thu, Sep 15, 2011 at 10:33:13AM -0400, Stefan Berger wrote: On 09/15/2011 08:28 AM, Michael S. Tsirkin wrote: So the below is a

Re: [Qemu-devel] blobstore disk format (was Re: Design of the blobstore)

2011-09-17 Thread Michael S. Tsirkin
On Fri, Sep 16, 2011 at 12:46:40PM -0400, Stefan Berger wrote: > On 09/16/2011 10:44 AM, Michael S. Tsirkin wrote: > >On Thu, Sep 15, 2011 at 10:33:13AM -0400, Stefan Berger wrote: > >>On 09/15/2011 08:28 AM, Michael S. Tsirkin wrote: > >>>So the below is a proposal for a directory scheme > >>>for

Re: [Qemu-devel] blobstore disk format (was Re: Design of the blobstore)

2011-09-16 Thread Stefan Berger
On 09/16/2011 10:44 AM, Michael S. Tsirkin wrote: On Thu, Sep 15, 2011 at 10:33:13AM -0400, Stefan Berger wrote: On 09/15/2011 08:28 AM, Michael S. Tsirkin wrote: So the below is a proposal for a directory scheme for storing (optionally multiple) nvram images, along with any metadata. Data is e

Re: [Qemu-devel] blobstore disk format (was Re: Design of the blobstore)

2011-09-16 Thread Michael S. Tsirkin
On Thu, Sep 15, 2011 at 10:33:13AM -0400, Stefan Berger wrote: > On 09/15/2011 08:28 AM, Michael S. Tsirkin wrote: > >So the below is a proposal for a directory scheme > >for storing (optionally multiple) nvram images, > >along with any metadata. > >Data is encoded using BER: > >http://en.wikipedia

Re: [Qemu-devel] blobstore disk format (was Re: Design of the blobstore)

2011-09-15 Thread Stefan Berger
On 09/15/2011 08:28 AM, Michael S. Tsirkin wrote: So the below is a proposal for a directory scheme for storing (optionally multiple) nvram images, along with any metadata. Data is encoded using BER: http://en.wikipedia.org/wiki/Basic_Encoding_Rules Specifically, we mostly use the subsets. Would

[Qemu-devel] blobstore disk format (was Re: Design of the blobstore)

2011-09-15 Thread Michael S. Tsirkin
So the below is a proposal for a directory scheme for storing (optionally multiple) nvram images, along with any metadata. Data is encoded using BER: http://en.wikipedia.org/wiki/Basic_Encoding_Rules Specifically, we mostly use the subsets. We use a directory as a SET in a CER format. This allows