[PATCH 21/37] conf: domain: Convert 'mode' field of the 'direct' type of virDomainNetDef to proper type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Use 'virNetDevMacVLanMode'.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/conf/domain_conf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index 3d13c7a3de..8fecf0566c 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -1130,7 +1130,7 @@ struct _virDomainNetDef {
         } internal;
         struct {
             char *linkdev;
-            int mode; /* enum virMacvtapMode from util/macvtap.h */
+            virNetDevMacVLanMode mode;
         } direct;
         struct {
             virDomainHostdevDef def;
-- 
2.37.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux