From: Gonglei Date: Tue, 7 Oct 2014 08:00:21 +0000 (+0800) Subject: net: remove bootindex property from qdev to qom X-Git-Tag: xen-15-06-02~366^2~17 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=45e8a9e123ccf06f1dce2744676ae64382e0a273;p=people%2Fsstabellini%2Fqemu-dm.git%2F.git net: remove bootindex property from qdev to qom Remove bootindex form qdev property to qom, things will continue to work just fine, and we can use qom features which are not supported by qdev property. Signed-off-by: Gonglei Reviewed-by: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- diff --git a/include/net/net.h b/include/net/net.h index ed594f9bdb..008d610046 100644 --- a/include/net/net.h +++ b/include/net/net.h @@ -36,8 +36,7 @@ typedef struct NICConf { #define DEFINE_NIC_PROPERTIES(_state, _conf) \ DEFINE_PROP_MACADDR("mac", _state, _conf.macaddr), \ DEFINE_PROP_VLAN("vlan", _state, _conf.peers), \ - DEFINE_PROP_NETDEV("netdev", _state, _conf.peers), \ - DEFINE_PROP_INT32("bootindex", _state, _conf.bootindex, -1) + DEFINE_PROP_NETDEV("netdev", _state, _conf.peers) /* Net clients */