diff options
author | Gonglei | 2014-10-07 10:00:21 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2014-10-15 09:52:54 +0200 |
commit | 45e8a9e123ccf06f1dce2744676ae64382e0a273 (patch) | |
tree | 7dee352c0fc64bab286e063d66794b54b79f2e4b /include/net/net.h | |
parent | usb-net: add bootindex to qom property (diff) | |
download | qemu-45e8a9e123ccf06f1dce2744676ae64382e0a273.tar.gz qemu-45e8a9e123ccf06f1dce2744676ae64382e0a273.tar.xz qemu-45e8a9e123ccf06f1dce2744676ae64382e0a273.zip |
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 <arei.gonglei@huawei.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/net/net.h')
-rw-r--r-- | include/net/net.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 */ |