于 2011年11月11日 16:33, Dong Xu Wang 写道:
Sorry, the title is "util: Compile error", what's the usage of this patch?
Without applying this, it will cause error while compiling?
yes , when run make ,it will cause undefined symbols error.
2011/11/11<taget@xxxxxxxxxxxxxxxxxx>:
From: Eli Qiao<taget@xxxxxxxxxxxxxxxxxx>
Add virnetdev.h,virnetdevbridge.h,virnetdevtap.h to private symbols
Signed-off-by: Eli Qiao<taget@xxxxxxxxxxxxxxxxxx>
---
src/libvirt_private.syms | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 81de6b4..ebe34c9 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -1195,6 +1195,35 @@ virFileRewrite;
# virnetclient.h
virNetClientHasPassFD;
+# virnetdev.h
+virNetDevClearIPv4Address;
+virNetDevExists;
+virNetDevGetMAC;
+virNetDevGetMTU;
+virNetDevIsOnline;
+virNetDevSetIPv4Address;
+virNetDevSetMAC;
+virNetDevSetMTU;
+virNetDevSetMTUFromDevice;
+virNetDevSetOnline;
+
+
+# virnetdevbridge.h
+virNetDevBridgeAddPort;
+virNetDevBridgeCreate;
+virNetDevBridgeDelete;
+virNetDevBridgeGetSTP;
+virNetDevBridgeGetSTPDelay;
+virNetDevBridgeRemovePort;
+virNetDevBridgeSetSTP;
+virNetDevBridgeSetSTPDelay;
+
+
+# virnetdevtap.h
+virNetDevTapCreate;
+virNetDevTapCreateInBridgePort;
+virNetDevTapDelete;
+
# virnetmessage.h
virNetMessageClear;
--
1.7.4.4
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list
--
best regards
eli
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list