On Tue, Apr 19, 2022 at 06:23:41PM -0700, Elliott Mitchell wrote: > JSON is currently used when saving domains to mass storage. Being able > to use JSON as the normal input to `xl create` has potential to be > valuable. Add the functionality. > > Move the memset() earlier so to allow use of the structure sooner. > > Signed-off-by: Elliott Mitchell <ehem+...@m5p.com>
So, I gave this a try and creating a guest from a json config, and that fails very early with "Unknown guest type". Have you actually tried to create a guest from config file written in json? Also, this would need documentation about the new option, about the format. The man page need to be edited. An example of a config file written in json would be nice as well. Thanks, -- Anthony PERARD