mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemuMigrationCookieXMLParse: Remove comment mentioning that error was already set
Most of our functions report errors so there's no need to mention it here again. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
a9b4e523d7
commit
8c3f86e290
@ -1307,12 +1307,9 @@ qemuMigrationCookieXMLParse(qemuMigrationCookiePtr mig,
|
|||||||
VIR_DOMAIN_DEF_PARSE_INACTIVE |
|
VIR_DOMAIN_DEF_PARSE_INACTIVE |
|
||||||
VIR_DOMAIN_DEF_PARSE_ABI_UPDATE_MIGRATION |
|
VIR_DOMAIN_DEF_PARSE_ABI_UPDATE_MIGRATION |
|
||||||
VIR_DOMAIN_DEF_PARSE_SKIP_VALIDATE);
|
VIR_DOMAIN_DEF_PARSE_SKIP_VALIDATE);
|
||||||
if (!mig->persistent) {
|
if (!mig->persistent)
|
||||||
/* virDomainDefParseNode already reported
|
|
||||||
* an error for us */
|
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if ((flags & QEMU_MIGRATION_COOKIE_NETWORK) &&
|
if ((flags & QEMU_MIGRATION_COOKIE_NETWORK) &&
|
||||||
virXPathBoolean("count(./network) > 0", ctxt) &&
|
virXPathBoolean("count(./network) > 0", ctxt) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user