On 1/7/19 18:33, Stefano Garzarella wrote:
On Mon, Dec 24, 2018 at 3:16 AM Li Zhijian <lizhij...@cn.fujitsu.com> wrote:

On 12/22/18 00:12, Michael S. Tsirkin wrote:
On Thu, Dec 06, 2018 at 10:32:11AM +0800, Li Zhijian wrote:
Don't expect read(2) can always read as many as it's told.

Signed-off-by: Li Zhijian <lizhij...@cn.fujitsu.com>
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
This is more a theoretical bugfix than a refactoring right?
Yes, it does.

how about change the title to : "enhance reading on load_image_size()" or such
Maybe something like this: "hw/core/loader.c: Read as long as possible
in load_image_size()"

It really helps, i will take your suggestion to the subject.

Thanks
Zhijian





Reviewed-by: Stefano Garzarella <sgarz...@redhat.com>




Reply via email to