Skip to contentSkip to conversation

broken cross-version migration from 2.2 to 2.1

Qemu-devel Igor Mammedov 2 participants 3 messages Dec 10, 2014

lore
Share & tools
lore
#0 lore raw

CCing to migration maintainers a couple migration regressions in 2.2:

1st error:

source:
qemu-system-x86_64-2.2 -enable-kvm -m 512 -monitor stdio -M pc-i440fx-2.1 (qemu) stop
(qemu) migrate "exec:gzip -c > STATEFILE.gz"

target:
qemu-system-x86_64-2.1 -enable-kvm -m 512 -monitor stdio -incoming "exec: gzip -c -d STATEFILE.gz" -M pc-i440fx-2.1
qemu: warning: error while loading state for instance 0x0 of device 'serial' qemu-system-x86_64-2.1: load of migration failed: No such file or directory

2nd error:

source:
qemu-system-x86_64-2.2 -enable-kvm -smp 2 -m 512 -monitor stdio -M pc-i440fx-2.1
(qemu) stop
(qemu) migrate "exec:gzip -c > STATEFILE.gz"

target:
qemu-system-x86_64-2.1 -enable-kvm -smp 2 -m 512 -monitor stdio -M pc-i440fx-2.1 -incoming "exec: gzip -c -d STATEFILE.gz"
qemu: warning: error while loading state for instance 0x1 of device 'apic'
qemu-system-x86_64-2.1: load of migration failed: No such file or directory

#1 lore raw
Quoted 21 lines · Igor Mammedov

CCing to migration maintainers a couple migration regressions in 2.2:

1st error:

source:
qemu-system-x86_64-2.2 -enable-kvm -m 512 -monitor stdio -M pc-i440fx-2.1 (qemu) stop
(qemu) migrate "exec:gzip -c > STATEFILE.gz"

target:
qemu-system-x86_64-2.1 -enable-kvm -m 512 -monitor stdio -incoming "exec: gzip -c -d STATEFILE.gz" -M pc-i440fx-2.1
qemu: warning: error while loading state for instance 0x0 of device 'serial' qemu-system-x86_64-2.1: load of migration failed: No such file or directory

2nd error:

source:
qemu-system-x86_64-2.2 -enable-kvm -smp 2 -m 512 -monitor stdio -M pc-i440fx-2.1
(qemu) stop
(qemu) migrate "exec:gzip -c > STATEFILE.gz"

Quoted 6 lines

target:
qemu-system-x86_64-2.1 -enable-kvm -smp 2 -m 512 -monitor stdio -M pc-i440fx-2.1 -incoming "exec: gzip -c -d STATEFILE.gz"
qemu: warning: error while loading state for instance 0x1 of device 'apic'
qemu-system-x86_64-2.1: load of migration failed: No such file or directory

A lot of subsections were added between 2.1 and 2.2. Which ones are being migrated in these cases?

Paolo

#2 lore raw
Quoted 31 lines · Paolo Bonzini
Quoted 21 lines · Igor Mammedov

CCing to migration maintainers a couple migration regressions in 2.2:

1st error:

source:
qemu-system-x86_64-2.2 -enable-kvm -m 512 -monitor stdio -M pc-i440fx-2.1 (qemu) stop
(qemu) migrate "exec:gzip -c > STATEFILE.gz"

target:
qemu-system-x86_64-2.1 -enable-kvm -m 512 -monitor stdio -incoming "exec: gzip -c -d STATEFILE.gz" -M pc-i440fx-2.1
qemu: warning: error while loading state for instance 0x0 of device 'serial' qemu-system-x86_64-2.1: load of migration failed: No such file or directory

2nd error:

source:
qemu-system-x86_64-2.2 -enable-kvm -smp 2 -m 512 -monitor stdio -M pc-i440fx-2.1
(qemu) stop
(qemu) migrate "exec:gzip -c > STATEFILE.gz"

Quoted 6 lines

target:
qemu-system-x86_64-2.1 -enable-kvm -smp 2 -m 512 -monitor stdio -M pc-i440fx-2.1 -incoming "exec: gzip -c -d STATEFILE.gz"
qemu: warning: error while loading state for instance 0x1 of device 'apic'
qemu-system-x86_64-2.1: load of migration failed: No such file or directory

Quoted 2 lines

A lot of subsections were added between 2.1 and 2.2. Which ones are being migrated in these cases?

Hmm, it's thr_ipending and apic_sipi. /me debugs.

Paolo