diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index e135249fe20dd0e142321efaa12a18def34ccf3e..ca70e35294ffdeb492b6fc23460cbb10c42e15e3 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -2570,7 +2570,7 @@ qemuMigrationPrepareAny(virQEMUDriverPtr driver, if (hookret < 0) { goto cleanup; } else if (hookret == 0) { - if (!*xmlout) { + if (virStringIsEmpty(xmlout)) { VIR_DEBUG("Migrate hook filter returned nothing; using the" " original XML"); } else {