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

Re: [Xen-devel] [PATCH v2 2/4] xl: allow specifying a default gatewaydev in xl.conf



On 14/02/13 16:09, Ulf Kreutzberg wrote:
> Roger,
> 
> 
> after applying patch v2 1/4 and 2/4 (are there missing some?)

Well, you might want to try 3/4 and 4/4 also, but they are not mandatory.

> to git checkout c23ea051ccee613e668b2a87817d49a28215ac8b of
> git://xenbits.xen.org/xen.git xen
> 
> I get the following error(s) during compiling with 'make tools':
> 
> In file included from libxl.h:355,
>                  from xl_cmdtable.c:17:
> _libxl_types.h:437: error: duplicate member âgatewaydevâ
> make[3]: *** [xl_cmdtable.o] Error 1

Could you take a look at tools/libxl/libxl_types.idl?

You should have something like the following chunk:

libxl_device_nic = Struct("device_nic", [
    ("backend_domid", libxl_domid),
    ("devid", libxl_devid),
    ("mtu", integer),
    ("model", string),
    ("mac", libxl_mac),
    ("ip", string),
    ("bridge", string),
    ("ifname", string),
    ("script", string),
    ("nictype", libxl_nic_type),
    ("rate_bytes_per_interval", uint64),
    ("rate_interval_usecs", uint32),
    ("gatewaydev", string),
    ])

(With only one "gatewaydev").

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.