e26f98e209
The bdrv_all_*_snapshot functions return a BlockDriverState pointer for the invalid backend, which the callers then use to report an error message. In some cases multiple callers are reporting the same error message, but with slightly different text. In the future there will be more error scenarios for some of these methods, which will benefit from fine grained error message reporting. So it is helpful to push error reporting down a level. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> [PMD: Initialize variables] Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210204124834.774401-2-berrange@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> |
||
---|---|---|
.. | ||
meson.build | ||
replay-audio.c | ||
replay-char.c | ||
replay-debugging.c | ||
replay-events.c | ||
replay-input.c | ||
replay-internal.c | ||
replay-internal.h | ||
replay-net.c | ||
replay-random.c | ||
replay-snapshot.c | ||
replay-time.c | ||
replay.c | ||
stubs-system.c |