]> git.proxmox.com Git - mirror_qemu.git/blobdiff - migration/savevm.c
Revert "migration: move only_migratable to MigrationState"
[mirror_qemu.git] / migration / savevm.c
index 1415001d1ce5954b97d7f61e0129a93d65f6b844..34bcad3807b0070ba684392266c1978a255f04ce 100644 (file)
@@ -2844,7 +2844,7 @@ void vmstate_register_ram_global(MemoryRegion *mr)
 bool vmstate_check_only_migratable(const VMStateDescription *vmsd)
 {
     /* check needed if --only-migratable is specified */
-    if (!migrate_get_current()->only_migratable) {
+    if (!only_migratable) {
         return true;
     }