|
From: | Juan Quintela |
Subject: | Re: [PATCH v3 05/10] qemufile: Always return a verbose error |
Date: | Thu, 05 Oct 2023 09:42:31 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) |
Peter Xu <peterx@redhat.com> wrote: > There're a lot of cases where we only have an errno set in last_error but > without a detailed error description. When this happens, try to generate > an error contains the errno as a descriptive error. > > This will be helpful in cases where one relies on the Error*. E.g., > migration state only caches Error* in MigrationState.error. With this, > we'll display correct error messages in e.g. query-migrate when the error > was only set by qemu_file_set_error(). > > Reviewed-by: Fabiano Rosas <farosas@suse.de> > Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Have to adjust due to the static missing from previous patch.
[Prev in Thread] | Current Thread | [Next in Thread] |