qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] migration: fix analyze-migration.py script
@ 2015-09-05 19:51 Mark Cave-Ayland
  2015-09-05 19:51 ` Mark Cave-Ayland
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Cave-Ayland @ 2015-09-05 19:51 UTC (permalink / raw)
  To: quintela, agraf, qemu-devel

Whilst investigating a migration issue, I noticed that the 
analyze-migration.py script had accidentally been broken by commit 61964.

I've implemented a quick workaround to parse the configuration section into a
separate Python object, however the solution works by parsing the SaveState
properties directly rather than reading them dynamically. This is because 
vmstate_save_state() doesn't have a valid QJSON object available at the time
the configuration is written out which makes it tricky to include the
configuration state in the JSON schema.

This is probably a reasonable solution if the configuration state is deemed
to be static, although more thought is required if it is deemed useful for
the machine name to be made available in the analyze-migration.py JSON output
or if the configuration properties should be read dynamically.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


Mark Cave-Ayland (1):
  migration: fix analyze-migration.py script

 scripts/analyze-migration.py |   13 +++++++++++++
 1 file changed, 13 insertions(+)

-- 
1.7.10.4

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

end of thread, other threads:[~2015-11-26 21:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-05 19:51 [Qemu-devel] [PATCH] migration: fix analyze-migration.py script Mark Cave-Ayland
2015-09-05 19:51 ` Mark Cave-Ayland
2015-09-06  8:36   ` Alexander Graf
2015-09-06 11:54     ` Mark Cave-Ayland
2015-10-26  9:48       ` Mark Cave-Ayland
2015-10-30 16:50         ` Mark Cave-Ayland
2015-11-26 15:23           ` Alexander Graf
2015-11-26 15:31             ` Dr. David Alan Gilbert
2015-11-26 15:32               ` Alexander Graf
2015-11-26 21:40                 ` Juan Quintela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).