All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Allow use of JSON in domain configuration files
@ 2022-04-30  2:21 Elliott Mitchell
  2022-04-20  1:23 ` [PATCH v2 3/3] tools/xl: Allow specifying JSON for domain configuration file format Elliott Mitchell
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Elliott Mitchell @ 2022-04-30  2:21 UTC (permalink / raw)
  To: xen-devel; +Cc: Wei Liu, Anthony PERARD

While the traditional domain configuration file format works acceptably,
I can see uses for having full JSON support.  As such add "-j" and "-J"
to `xl create` to specify format.  The traditional format is the current
default.

While attempting this, it came up that options for `xl create` aren't in
a consistent order.  I'm concerned about moving the VNC options apart,
but the others have been sorted.

Due to one issue in the previous round I ended up examing the dom_info
variable in main_create().  The situation there is a bit tangled.  There
were shadow variables for everything in dom_info.  Unfortunately the
short-hand serves to confuse, so I believe the appropriate action is to
remove the shadows.  Appears .dry_run had effectively been deprecated,
but not fully removed; as such now fully remove it.

Rename everything "format" to "config_format".

Elliott Mitchell (3):
  tools/xl: Sort create command options
  tools/xl: Use sparse init for dom_info, remove duplicate vars
  tools/xl: Allow specifying JSON for domain configuration file format

 tools/xl/xl.h           |   6 ++-
 tools/xl/xl_cmdtable.c  |  14 ++---
 tools/xl/xl_vmcontrol.c | 114 +++++++++++++++++++++-------------------
 3 files changed, 73 insertions(+), 61 deletions(-)

-- 
2.30.2



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-06-10 14:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-30  2:21 [PATCH v2 0/3] Allow use of JSON in domain configuration files Elliott Mitchell
2022-04-20  1:23 ` [PATCH v2 3/3] tools/xl: Allow specifying JSON for domain configuration file format Elliott Mitchell
2022-05-20 14:12   ` Anthony PERARD
2022-06-01  1:25     ` Elliott Mitchell
2022-06-10 14:00       ` Anthony PERARD
2022-04-20  1:56 ` [PATCH v2 1/3] tools/xl: Sort create command options Elliott Mitchell
2022-05-20 10:36   ` Anthony PERARD
2022-04-29 22:45 ` [PATCH v2 2/3] tools/xl: Use sparse init for dom_info, remove duplicate vars Elliott Mitchell
2022-05-20 13:48   ` Anthony PERARD

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.