diff options
| author | Peter Xu <peterx@redhat.com> | 2021-07-08 15:06:53 -0400 |
|---|---|---|
| committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2021-07-13 16:21:57 +0100 |
| commit | ca7bd0821bb62a1561dd409507039558c0e1f5ac (patch) | |
| tree | d3ef0660440e6677404492114fe37954e4ce8fdd /scripts/qapi/introspect.py | |
| parent | ca30f24d12c9ba1fc0654e6e983f950f7792a217 (diff) | |
| download | focaccia-qemu-ca7bd0821bb62a1561dd409507039558c0e1f5ac.tar.gz focaccia-qemu-ca7bd0821bb62a1561dd409507039558c0e1f5ac.zip | |
migration: Clear error at entry of migrate_fd_connect()
For each "migrate" command, remember to clear the s->error before going on. For one reason, when there's a new error it'll be still remembered; see migrate_set_error() who only sets the error if error==NULL. Meanwhile if a failed migration completes (e.g., postcopy recovered and finished), we shouldn't dump an error when calling migrate_fd_cleanup() at last. Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <20210708190653.252961-4-peterx@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'scripts/qapi/introspect.py')
0 files changed, 0 insertions, 0 deletions