Date: Fri, 14 Jul 2023 13:27:35 -0500 From: Matthew Grooms <mgrooms@shrew.net> To: Rob Wing <rob.fx907@gmail.com> Cc: virtualization@freebsd.org Subject: Re: BHYVE SNAPSHOT image format proposal Message-ID: <6e7f3128-b8fa-8cd8-007d-ffd9b89c62d1@shrew.net> In-Reply-To: <CAF3%2Bn_cc5ZpGsKCff%2Bu-rSjnJn%2BN1jdu9KW0Y5b6n_TieMsfng@mail.gmail.com> References: <67FDC8A8-86A6-4AE4-85F0-FF7BEF9F2F06@gmail.com> <6b98da58a5bd8e83bc466efa20b5a900298210aa.camel@FreeBSD.org> <8387AC83-6667-48E5-A3FA-11475EA96A5F@gmail.com> <d92db9bfbea181d6eb9d57b579d67e8e118ef4de.camel@FreeBSD.org> <986A83D8-E0E0-4030-9369-A5B3500E27C6@gmail.com> <79fabe94-b800-c713-48ea-518da1f74e4d@shrew.net> <CAF3%2Bn_cc5ZpGsKCff%2Bu-rSjnJn%2BN1jdu9KW0Y5b6n_TieMsfng@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/14/23 13:08, Rob Wing wrote: > > > On Fri, Jul 14, 2023 at 9:40 AM Matthew Grooms <mgrooms@shrew.net > <mailto:mgrooms@shrew.net>> wrote: > > > I see a need to define a format for bhyve so it's possible to mix > different sections and encodings inside a unified stream. But all the > data in your nvlist example above can be easily be represented as text. > We already have JSON, YAML, XML, etc ... By adopting an preexisting > format, we could retain the snapshot structure instead of lifting it up > into the stream format. Even if we decide to break the structure up > into > different nvlist stream sections, using a common format would allow > other tools to more easily parse and validate the structure inside > these > sections. Isn't that a good thing? Is there a reason we're trying to > reinvent the wheel here? > > Does JSON support storing binary data? I'm under the impression that it > does not. Hey Rob, I wasn't suggesting that any of the bulk data be encoded. But I think I see the disconnect as I replied to the reply vs the original proposal. I'll try again this weekend when I have more time to read everything again and re-digest. -Matthew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6e7f3128-b8fa-8cd8-007d-ffd9b89c62d1>