[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 10/28] migration: add reporting of errors for out
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PULL 10/28] migration: add reporting of errors for outgoing migration |
Date: |
Mon, 6 Jun 2016 10:38:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
On 26/05/2016 08:12, Amit Shah wrote:
> @@ -863,12 +867,15 @@ static void migrate_fd_cleanup(void *opaque)
> notifier_list_notify(&migration_state_notifiers, s);
> }
>
> -void migrate_fd_error(MigrationState *s)
> +void migrate_fd_error(MigrationState *s, const Error *error)
> {
> - trace_migrate_fd_error();
> + trace_migrate_fd_error(error ? error_get_pretty(error) : "");
This check on error == NULL is unnecessary, the only caller passes a
non-NULL error.
Paolo
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PULL 10/28] migration: add reporting of errors for outgoing migration,
Paolo Bonzini <=