qemudSaveConfig() will always report a more specific error, so we should avoid overwriting this error. Note, Dan originally folded this into his qemu patches, but it looks to have since been lost. Signed-off-by: Mark McLoughlin Index: libvirt/qemud/conf.c =================================================================== --- libvirt.orig/qemud/conf.c +++ libvirt/qemud/conf.c @@ -1087,8 +1087,6 @@ struct qemud_vm *qemudLoadConfigXML(stru } if (qemudSaveConfig(server, vm) < 0) { - qemudReportError(server, VIR_ERR_INTERNAL_ERROR, - "cannot save config file for guest"); qemudFreeVM(vm); return NULL; } --