]> git.proxmox.com Git - qemu.git/blobdiff - net.h
target-arm: Fix compilation failure for 64 bit hosts
[qemu.git] / net.h
diff --git a/net.h b/net.h
index 44c31a9b321f468ca4a3dbbca2bd97b5d9d45a66..6ceca50fc38b0b2c73a38a1fcf93a9a7f30d6576 100644 (file)
--- a/net.h
+++ b/net.h
@@ -17,12 +17,14 @@ typedef struct NICConf {
     MACAddr macaddr;
     VLANState *vlan;
     VLANClientState *peer;
+    int32_t bootindex;
 } NICConf;
 
 #define DEFINE_NIC_PROPERTIES(_state, _conf)                            \
     DEFINE_PROP_MACADDR("mac",   _state, _conf.macaddr),                \
     DEFINE_PROP_VLAN("vlan",     _state, _conf.vlan),                   \
-    DEFINE_PROP_NETDEV("netdev", _state, _conf.peer)
+    DEFINE_PROP_NETDEV("netdev", _state, _conf.peer),                   \
+    DEFINE_PROP_INT32("bootindex", _state, _conf.bootindex, -1)
 
 /* VLANs support */