It was always allowed, but in a very unusual and weird way. Just
look at the original commit that introduced it (
78fc843c7b5).
Also, we document that "io" value is accepted (which translates
to VIR_DOMAIN_VIDEO_VGACONF_IO with value of zero).
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
if (virXMLPropEnum(driver, "vgaconf",
virDomainVideoVGAConfTypeFromString,
- VIR_XML_PROP_NONZERO, &def->vgaconf) < 0)
+ VIR_XML_PROP_NONE, &def->vgaconf) < 0)
return NULL;
return g_steal_pointer(&def);