[SeaBIOS] [PATCH v3] config: Add function to check if fw_cfg exists

Kevin O'Connor kevin at koconnor.net
Thu Mar 30 03:15:39 CEST 2017


On Wed, Mar 29, 2017 at 09:22:27AM +0200, Laszlo Ersek wrote:
> On 03/28/17 23:03, Petr Berky wrote:
> > It was found qemu_get_present_cpus_count may return impossible
> > number of cpus because of not checking if fw_cfg exists before
> > using it. That may lead to undefined behavior of emulator,
> > in particular Bochs that freezes.

Thanks - I applied this patch.

> Reviewed-by: Laszlo Ersek <lersek at redhat.com>

Unfortunately, I forgot to attach the reviewed-by before pushing.
Appreciate the review though.

-Kevin



More information about the SeaBIOS mailing list