SHA256
1
0
forked from pool/libvirt
libvirt/45147ca3-macvtap-warning.patch

19 lines
611 B
Diff

commit 45147ca37f3d93ea67b02a6c0e435bdf40b4ddc5
Author: Jean-Baptiste Rouault <jean-baptiste.rouault@diateam.net>
Date: Wed Dec 1 12:00:32 2010 +0100
Fix warning when macvtap support is disabled
diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
index b0343c6..7cd0603 100644
--- a/src/qemu/qemu_conf.c
+++ b/src/qemu/qemu_conf.c
@@ -1689,6 +1689,7 @@ qemudPhysIfaceConnect(virConnectPtr conn,
(void)qemuCmdFlags;
(void)driver;
(void)vmuuid;
+ (void)vmop;
qemuReportError(VIR_ERR_INTERNAL_ERROR,
"%s", _("No support for macvtap device"));
rc = -1;