diff options
| author | Maksim Davydov <davydov-max@yandex-team.ru> | 2024-03-04 17:42:03 +0300 |
|---|---|---|
| committer | Peter Xu <peterx@redhat.com> | 2024-03-11 14:41:40 -0400 |
| commit | 12ab1e4fe84aafac37e006673f0d01f716a9a058 (patch) | |
| tree | 85dbf6d22853c1c84011a6ee69306474bedab965 /migration/qemu-file.c | |
| parent | ff64e0ba817d79968bffa88d205397abf05cc6e8 (diff) | |
| download | focaccia-qemu-12ab1e4fe84aafac37e006673f0d01f716a9a058.tar.gz focaccia-qemu-12ab1e4fe84aafac37e006673f0d01f716a9a058.zip | |
migration/ram: add additional check
If a migration stream is broken, the address and flag reading can return zero. Thus, an irrelevant flag error will be returned instead of EIO. It can be fixed by additional check after the reading. Signed-off-by: Maksim Davydov <davydov-max@yandex-team.ru> Link: https://lore.kernel.org/r/20240304144203.158477-1-davydov-max@yandex-team.ru Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'migration/qemu-file.c')
0 files changed, 0 insertions, 0 deletions