On Wed, Mar 15, 2017 at 12:09:11AM +0100, Petr Berky wrote:
From b06589c683a7defb4853a3b810bd7e6a12abe2d6 Mon Sep
17 00:00:00 2001
From: Petr Berky <petr.berky(a)email.cz>
Date: Tue, 14 Mar 2017 23:32:15 +0100
Subject: [PATCH v2] config: Add function to check if fw_cfg exists
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. The patch looks fine to me. However, it looks like it got
whitespace corrupted. Can you retry with "git send-email", or if
that's not applicable, try attaching the patch.