Re: [Qemu-devel] [PATCH] hpet: check no_hpet when adding fw_cfg entry.

2010-09-13 Thread Gleb Natapov
On Mon, Sep 06, 2010 at 02:01:24PM +0200, Gerd Hoffmann wrote: > We should only pass the hpet config entry in case we actually > create a hpet device. > No we should pass it always. If no hpets are present hpet_cfg will have appropriate info. > Signed-off-by: Gerd Hoffmann > --- > hw/pc.c |

[Qemu-devel] [PATCH] hpet: check no_hpet when adding fw_cfg entry.

2010-09-06 Thread Gerd Hoffmann
We should only pass the hpet config entry in case we actually create a hpet device. Signed-off-by: Gerd Hoffmann --- hw/pc.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 0c31db1..c96f1fc 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -517,8 +517,10