[PATCH 32/37] virDomainNetDef: Use virTristateBool for 'managed_tap' instead of int
Peter Krempa
pkrempa at redhat.com
Mon Sep 19 08:55:17 UTC 2022
Convert the strut member to proper type.
Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
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 8fecf0566c..352b88eae5 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -1152,7 +1152,7 @@ struct _virDomainNetDef {
char *downscript;
char *domain_name; /* backend domain name */
char *ifname; /* interface name on the host (<target dev='x'/>) */
- int managed_tap; /* enum virTristateBool - ABSENT == YES */
+ virTristateBool managed_tap;
virNetDevIPInfo hostIP;
char *ifname_guest_actual;
char *ifname_guest;
--
2.37.1
More information about the libvir-list
mailing list