pc_fw_add_pflash_drv() ignores qemu_find_file() failure, and happily
creates a drive without a medium.
When pc_system_flash_init() asks for its size, bdrv_getlength() fails
with -ENOMEDIUM, which isn't checked either. It fails relatively
cleanly only because -ENOMEDIUM isn't a multiple of 4096:
On Thu, 16 Aug 2012 17:12:37 +0200
Markus Armbruster wrote:
> Luiz Capitulino writes:
>
> > On Thu, 16 Aug 2012 16:32:12 +0200
> > Markus Armbruster wrote:
> >
> >> Luiz Capitulino writes:
> >>
> >> > On Thu, 16 Aug 2012 15:50:51 +0200
> >> > Markus Armbruster wrote:
> >> >
> >> >> Luiz Cap
On Thu, 16 Aug 2012 13:49:15 -0300
Luiz Capitulino wrote:
> > I converted more error messages to the error-reporting-infrastructure-
> > du-jour than was enjoyable, and I can tell you that the restrictions
> > that come with error_report() compared to anything-goes-fprintf() do
> > make the job e
Reviewed-by: Jordan Justen
On Thu, Aug 16, 2012 at 4:41 AM, Markus Armbruster wrote:
> pc_fw_add_pflash_drv() ignores qemu_find_file() failure, and happily
> creates a drive without a medium.
>
> When pc_system_flash_init() asks for its size, bdrv_getlength() fails
> with -ENOMEDIUM, which isn't
Luiz Capitulino writes:
> On Thu, 16 Aug 2012 16:32:12 +0200
> Markus Armbruster wrote:
>
>> Luiz Capitulino writes:
>>
>> > On Thu, 16 Aug 2012 15:50:51 +0200
>> > Markus Armbruster wrote:
>> >
>> >> Luiz Capitulino writes:
>> >>
>> >> > On Thu, 16 Aug 2012 13:41:12 +0200
>> >> > Markus Ar
On Thu, 16 Aug 2012 16:32:12 +0200
Markus Armbruster wrote:
> Luiz Capitulino writes:
>
> > On Thu, 16 Aug 2012 15:50:51 +0200
> > Markus Armbruster wrote:
> >
> >> Luiz Capitulino writes:
> >>
> >> > On Thu, 16 Aug 2012 13:41:12 +0200
> >> > Markus Armbruster wrote:
> >> >
> >> >> pc_fw_ad
Luiz Capitulino writes:
> On Thu, 16 Aug 2012 15:50:51 +0200
> Markus Armbruster wrote:
>
>> Luiz Capitulino writes:
>>
>> > On Thu, 16 Aug 2012 13:41:12 +0200
>> > Markus Armbruster wrote:
>> >
>> >> pc_fw_add_pflash_drv() ignores qemu_find_file() failure, and happily
>> >> creates a drive w
On Thu, 16 Aug 2012 15:50:51 +0200
Markus Armbruster wrote:
> Luiz Capitulino writes:
>
> > On Thu, 16 Aug 2012 13:41:12 +0200
> > Markus Armbruster wrote:
> >
> >> pc_fw_add_pflash_drv() ignores qemu_find_file() failure, and happily
> >> creates a drive without a medium.
> >>
> >> When pc_sy
Am 16.08.2012 15:50, schrieb Markus Armbruster:
>> Although I'm not sure it qualifies for hard-freeze...
>
> I didn't tag my series "for-1.2". I understand that fixes to
> not-so-important stuff aren't welcome at this time even when they're
> really simple.
It's a clear bug fix, easy to understa
Luiz Capitulino writes:
> On Thu, 16 Aug 2012 13:41:12 +0200
> Markus Armbruster wrote:
>
>> pc_fw_add_pflash_drv() ignores qemu_find_file() failure, and happily
>> creates a drive without a medium.
>>
>> When pc_system_flash_init() asks for its size, bdrv_getlength() fails
>> with -ENOMEDIUM,
On Thu, 16 Aug 2012 13:41:12 +0200
Markus Armbruster wrote:
> pc_fw_add_pflash_drv() ignores qemu_find_file() failure, and happily
> creates a drive without a medium.
>
> When pc_system_flash_init() asks for its size, bdrv_getlength() fails
> with -ENOMEDIUM, which isn't checked either. It fail
pc_fw_add_pflash_drv() ignores qemu_find_file() failure, and happily
creates a drive without a medium.
When pc_system_flash_init() asks for its size, bdrv_getlength() fails
with -ENOMEDIUM, which isn't checked either. It fails relatively
cleanly only because -ENOMEDIUM isn't a multiple of 4096:
12 matches
Mail list logo