Searched hist:ac7d25b8 (Results 1 – 1 of 1) sorted by relevance
/qemu/migration/ |
H A D | qemu-file.c | ac7d25b8 Thu May 04 11:38:38 GMT 2023 Juan Quintela <quintela@redhat.com> qemu-file: remove shutdown member
The first thing that we do after setting the shutdown value is set the error as -EIO if there is not a previous error.
So this value is redundant. Just remove it and use qemu_file_get_error() in the places that it was tested.
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Message-Id: <20230504113841.23130-7-quintela@redhat.com> ac7d25b8 Thu May 04 11:38:38 GMT 2023 Juan Quintela <quintela@redhat.com> qemu-file: remove shutdown member
The first thing that we do after setting the shutdown value is set the error as -EIO if there is not a previous error.
So this value is redundant. Just remove it and use qemu_file_get_error() in the places that it was tested.
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Message-Id: <20230504113841.23130-7-quintela@redhat.com> ac7d25b8 Thu May 04 11:38:38 GMT 2023 Juan Quintela <quintela@redhat.com> qemu-file: remove shutdown member
The first thing that we do after setting the shutdown value is set the error as -EIO if there is not a previous error.
So this value is redundant. Just remove it and use qemu_file_get_error() in the places that it was tested.
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Message-Id: <20230504113841.23130-7-quintela@redhat.com>
|