diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index d8222fe3bf..b3d42619f2 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -415,7 +415,7 @@ qemuMigrateDisk(virDomainDiskDef const *disk, /* Default is to migrate only non-shared non-readonly disks * with source */ return !disk->src->shared && !disk->src->readonly && - virDomainDiskGetSource(disk); + !virStorageSourceIsEmpty(disk->src); }