mirror of https://gitee.com/openkylin/libvirt.git
conf: Properly report error when an unsupported chr device name is passed
Add the missing jump to thje error label. The error message shouldn't ever be triggered though as it's called only on pre-selected nodes. Signed-off-by: Luyao Huang <lhuang@redhat.com>
This commit is contained in:
parent
219ea41d8d
commit
de3d32407b
|
@ -8609,6 +8609,7 @@ virDomainChrDefParseXML(xmlXPathContextPtr ctxt,
|
|||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
||||
_("unknown character device type: %s"),
|
||||
nodeName);
|
||||
goto error;
|
||||
}
|
||||
|
||||
cur = node->children;
|
||||
|
|
Loading…
Reference in New Issue