migration: Dump ramblock and offset too when non-same-page detected
commitcfc7dc8abfdb71e39e48bdb297b5e86fe2121d97
authorPeter Xu <peterx@redhat.com>
Tue, 1 Mar 2022 08:39:05 +0000 (1 16:39 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 2 Mar 2022 18:20:38 +0000 (2 18:20 +0000)
tree24f055f5c236bf33fcfd89e71b1674c188ed6b64
parent77dadc3f83745cbdc56500efd4384950415a2158
migration: Dump ramblock and offset too when non-same-page detected

In ram_load_postcopy() we'll try to detect non-same-page case and dump error.
This error is very helpful for debugging.  Adding ramblock & offset into the
error log too.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20220301083925.33483-6-peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  dgilbert: Fix up long line
migration/ram.c