[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] change get_image_size return type to int64_t
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v2] change get_image_size return type to int64_t |
Date: |
Thu, 13 Sep 2018 07:59:03 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 09/13/2018 03:07 AM, Li Zhijian wrote:
> Previously, if the size of initrd >=2G, qemu exits with error:
> address@hidden:/home/lizj#
> /home/lizhijian/lkp/qemu-colo/x86_64-softmmu/qemu-system-x86_64 -kernel
> ./vmlinuz-4.16.0-rc4 -initrd large.cgz -nographic
> qemu: error reading initrd large.cgz: No such file or directory
> address@hidden:/home/lizj# du -sh large.cgz
> 2.5G large.cgz
>
> this patch changes the caller side that use this function to calculate
> size of initrd file as well.
>
> v2: update error message and int64_t printing format
>
> Signed-off-by: Li Zhijian <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
r~