qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v19 4/7] pvpanic: pass configurable ioport to se


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH v19 4/7] pvpanic: pass configurable ioport to seabios
Date: Fri, 19 Apr 2013 10:27:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Hu Tao <address@hidden> writes:

> On Thu, Apr 18, 2013 at 11:22:56AM +0200, Markus Armbruster wrote:
>> Hu Tao <address@hidden> writes:
>> 
>> > This lets seabios patch the corresponding SSDT entry.
[...]
>> > diff --git a/include/hw/nvram/fw_cfg.h b/include/hw/nvram/fw_cfg.h
>> > index 05c8df1..07cc941 100644
>> > --- a/include/hw/nvram/fw_cfg.h
>> > +++ b/include/hw/nvram/fw_cfg.h
>> > @@ -1,6 +1,8 @@
>> >  #ifndef FW_CFG_H
>> >  #define FW_CFG_H
>> >  
>> > +#include "exec/hwaddr.h"
>> > +
>> >  #define FW_CFG_SIGNATURE        0x00
>> >  #define FW_CFG_ID               0x01
>> >  #define FW_CFG_UUID             0x02
>> 
>> Why is the include necessary?
>
> Withou it gcc gives error like this:
>
> In file included from hw/misc/pvpanic.c:21:0:
> qemu/include/hw/nvram/fw_cfg.h:68:25: error: unknown type name ‘hwaddr’
> qemu/include/hw/nvram/fw_cfg.h:68:42: error: unknown type name ‘hwaddr’

Okay, your change makes sense, but it doesn't belong into this patch.
Put it into a separate one if you need to respin anyway.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]