Re: [Qemu-devel] WIP: Migration format: ASN.1/BER schema

2014-03-12 Thread Michael S. Tsirkin
On Fri, Mar 07, 2014 at 04:55:03PM +, Dr. David Alan Gilbert wrote: Hi, I've been looking at reviving the migration-as-ber work that Michael and Stefan looked at a while ago, and have stuff starting to work, but not ready yet, so I thought I'd start by posting my current view of an

Re: [Qemu-devel] WIP: Migration format: ASN.1/BER schema

2014-03-12 Thread Dr. David Alan Gilbert
* Michael S. Tsirkin (m...@redhat.com) wrote: On Fri, Mar 07, 2014 at 04:55:03PM +, Dr. David Alan Gilbert wrote: snip I think this is already useful. For example this will make input parser more robust against unexpected input as octet string blobs are bounded, so if we fail to parse

Re: [Qemu-devel] WIP: Migration format: ASN.1/BER schema

2014-03-12 Thread Michael S. Tsirkin
On Wed, Mar 12, 2014 at 01:17:15PM +, Dr. David Alan Gilbert wrote: * Michael S. Tsirkin (m...@redhat.com) wrote: On Fri, Mar 07, 2014 at 04:55:03PM +, Dr. David Alan Gilbert wrote: snip I think this is already useful. For example this will make input parser more robust

[Qemu-devel] WIP: Migration format: ASN.1/BER schema

2014-03-07 Thread Dr. David Alan Gilbert
Hi, I've been looking at reviving the migration-as-ber work that Michael and Stefan looked at a while ago, and have stuff starting to work, but not ready yet, so I thought I'd start by posting my current view of an ASN.1 schema. Note this is my 1st attempt at ASN.1 so feel free to pick holes!