Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
Pushed as trivial.
src/conf/domain_conf.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 8efe83489..b83e31d8c 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -26862,8 +26862,9 @@ virDomainDefFormatInternal(virDomainDefPtr def,
case VIR_DOMAIN_FEATURE_CAPABILITIES:
if (def->features[i] == VIR_DOMAIN_CAPABILITIES_POLICY_DEFAULT
&&
- !virDomainDefHasCapabilitiesFeatures(def))
+ !virDomainDefHasCapabilitiesFeatures(def)) {
break;
+ }
virBufferAsprintf(buf, "<capabilities
policy='%s'>\n",
virDomainCapabilitiesPolicyTypeToString(def->features[i]));
--
2.14.3
Show replies by date