aboutsummaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-05-04 13:38:38 +0200
committerJuan Quintela <quintela@redhat.com>2023-05-05 02:01:59 +0200
commitac7d25b8163cfd16604cd7d92135dd14713d084b (patch)
treeeb230d65cf45d420eb964e38a5147fcb3a8baa27 /qemu-io.c
parent27a1243f14af1bc9430c94d5c13f51c734788959 (diff)
downloadqemu-ac7d25b8163cfd16604cd7d92135dd14713d084b.zip
qemu-ac7d25b8163cfd16604cd7d92135dd14713d084b.tar.gz
qemu-ac7d25b8163cfd16604cd7d92135dd14713d084b.tar.bz2
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>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions