mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
conf: Add a comment warning about boolean feature XML
This is the old style and we really shouldn't be adding any more examples like this. Add a comment to warn devs away Reviewed-by: John Ferlan <jferlan@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
c84be08156
commit
217d2656a5
@ -26894,6 +26894,8 @@ virDomainDefFormatInternal(virDomainDefPtr def,
|
||||
case VIR_DOMAIN_FEATURE_PAE:
|
||||
case VIR_DOMAIN_FEATURE_VIRIDIAN:
|
||||
case VIR_DOMAIN_FEATURE_PRIVNET:
|
||||
/* NOTE: This is for old style <opt/> booleans. New XML
|
||||
* should use the explicit state=on|off output below */
|
||||
switch ((virTristateSwitch) def->features[i]) {
|
||||
case VIR_TRISTATE_SWITCH_ABSENT:
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user