On Thu, Oct 18, 2018 at 07:52:58PM -0400, Cleber Rosa wrote:
[...]
> >>> +expected_msg = r'.*initrd is too large.*max: \d+, need \d+.*'
> >>
> >> I'd be a bit more assertive here and do something like:
> >>
> >> expected_msg = r'.*initrd is too large.*max: \d+, need %d\)' %
> >> m
On 10/18/18 6:09 PM, Eduardo Habkost wrote:
> On Thu, Oct 18, 2018 at 05:45:56PM -0400, Cleber Rosa wrote:
>>
>>
>> On 10/18/18 12:20 PM, Wainer dos Santos Moschetta wrote:
>>> QEMU used to exits with a not accurate error message when
>>> an initrd >= 2GB was passed. That was fixed on patch:
>>>
On Thu, Oct 18, 2018 at 05:45:56PM -0400, Cleber Rosa wrote:
>
>
> On 10/18/18 12:20 PM, Wainer dos Santos Moschetta wrote:
> > QEMU used to exits with a not accurate error message when
> > an initrd >= 2GB was passed. That was fixed on patch:
> >
> > commit f3839fda5771596152b75dd1e1a6d050e
On 10/18/18 12:20 PM, Wainer dos Santos Moschetta wrote:
> QEMU used to exits with a not accurate error message when
> an initrd >= 2GB was passed. That was fixed on patch:
>
> commit f3839fda5771596152b75dd1e1a6d050e6e6e380
> Author: Li Zhijian
> Date: Thu Sep 13 18:07:13
On 10/18/18 3:11 PM, Caio Carrara wrote:
> Hi Wainer,
>
> On 18-10-2018 13:20, Wainer dos Santos Moschetta wrote:
>> [...]
>> +def test_with_2GB_file_should_exit_error_msg(self):
>> +"""
>> +Pretends to boot QEMU with an initrd file with size of 2GB
>> +and expect it
On 10/18/18 12:44 PM, Philippe Mathieu-Daudé wrote:
> On 18/10/2018 18:20, Wainer dos Santos Moschetta wrote:
>> QEMU used to exits with a not accurate error message when
>> an initrd >= 2GB was passed. That was fixed on patch:
>>
>> commit f3839fda5771596152b75dd1e1a6d050e6e6e380
>> A
Hi Wainer,
On 18-10-2018 13:20, Wainer dos Santos Moschetta wrote:
> [...]
> +def test_with_2GB_file_should_exit_error_msg(self):
> +"""
> +Pretends to boot QEMU with an initrd file with size of 2GB
> +and expect it exits with error message.
> +Regression test f
On 18/10/2018 18:20, Wainer dos Santos Moschetta wrote:
> QEMU used to exits with a not accurate error message when
> an initrd >= 2GB was passed. That was fixed on patch:
>
> commit f3839fda5771596152b75dd1e1a6d050e6e6e380
> Author: Li Zhijian
> Date: Thu Sep 13 18:07:13 2018
QEMU used to exits with a not accurate error message when
an initrd >= 2GB was passed. That was fixed on patch:
commit f3839fda5771596152b75dd1e1a6d050e6e6e380
Author: Li Zhijian
Date: Thu Sep 13 18:07:13 2018 +0800
change get_image_size return type to int64_t