Skip to content

Add error reporting in migration

Dr. David Alan Gilbert (git) qemu-devel 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2migration: report an error giving the failed fieldmigration/vmstate.c+2 -01 reply
2/2migration: Report values for comparisonsmigration/vmstate.c+8 -01 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJohn Snow
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] Add error reporting in migration

From: "Dr. David Alan Gilbert" <[email protected]>

At the moment if you use a VMSTATE_*_EQUAL macro and the value doesn't match you just get an error about the section that failed

e.g.
qemu-system-ppc64: error while loading state for instance 0x0 of device 'cpu'
qemu-system-ppc64: load of migration failed: Invalid argument

with this pair you get the field and the mismatched values.
e.g.
qemu-system-ppc64: 8000600FE1FF7AE1 != 8000600FE1FF3A21
qemu-system-ppc64: Failed to load cpu:env.insns_flags
qemu-system-ppc64: error while loading state for instance 0x0 of device 'cpu'
qemu-system-ppc64: load of migration failed: Invalid argument

which is much more likely to point you at the culprit.

(Broken out from a larger vmstatification series, the only change since then is the values are printed in hex except for the le case).

Dave

Dr. David Alan Gilbert (2):
migration: report an error giving the failed field
migration: Report values for comparisons

 migration/vmstate.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
Signature · 1 line
2.7.4