Message ID | 20120702190237.GA4732@sir.fritz.box (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index aee613e..6392b98 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -848,6 +848,12 @@ qemuMigrationIsSafe(virDomainDefPtr def) return false; } + if (disk->protocol == VIR_DOMAIN_DISK_PROTOCOL_RBD || + disk->protocol == VIR_DOMAIN_DISK_PROTOCOL_NBD || + disk->protocol == VIR_DOMAIN_DISK_PROTOCOL_SHEEPDOG ) { + continue; + } + qemuReportError(VIR_ERR_MIGRATE_UNSAFE, "%s", _("Migration may lead to data corruption if disks" " use cache != none"));