aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/pc.c
diff options
context:
space:
mode:
authorLi Zhijian <lizhijian@cn.fujitsu.com>2019-01-17 20:49:02 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2019-02-05 16:50:18 +0100
commit1f40547f5ce0c135faa7d14f066b97002fd8c204 (patch)
tree601ed8a5dc37320026b2e2bd1ff32777c801e5c3 /hw/i386/pc.c
parent0c249ff71c094c0e009e2ccaef5237af3610b0fb (diff)
hw/core/loader.c: Read as long as possible in load_image_size()
Don't expect read(2) can always read as many as it's told. CC: Richard Henderson <richard.henderson@linaro.org> CC: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386/pc.c')
0 files changed, 0 insertions, 0 deletions