]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Adjust async job failure message
authorJohn Ferlan <jferlan@redhat.com>
Tue, 19 Jun 2018 22:54:15 +0000 (18:54 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 20 Jun 2018 22:42:23 +0000 (18:42 -0400)
Make it clearer what asyncJob type was passed and what was expected.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c

index d7c0598ceedffdab7ce614e7fc1348e36dee7aee..c136ed7f46059e752ed3022bbe0b1f660cfa98c6 100644 (file)
@@ -6666,7 +6666,8 @@ qemuDomainObjBeginNestedJob(virQEMUDriverPtr driver,
 
     if (asyncJob != priv->job.asyncJob) {
         virReportError(VIR_ERR_INTERNAL_ERROR,
-                       _("unexpected async job %d"), asyncJob);
+                       _("unexpected async job %d type expected %d"),
+                       asyncJob, priv->job.asyncJob);
         return -1;
     }