qemu: Clarify error message in qemuMigrationSrcIsSafe

The original message was logically incorrect: cache != none or cache !=
directsync is always true. But even replacing "or" with "and" doesn't
make it more readable for humans.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Acked-By: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Jiri Denemark 2019-08-13 13:16:20 +02:00
parent 69b1ecde25
commit 4748f8df29

View File

@ -1266,7 +1266,7 @@ qemuMigrationSrcIsSafe(virDomainDefPtr def,
virReportError(VIR_ERR_MIGRATE_UNSAFE, "%s",
_("Migration may lead to data corruption if disks"
" use cache != none or cache != directsync"));
" use cache other than none or directsync"));
return false;
}