migration state save/load of sdcard device is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm having different issues trying to have QEMU snapshots working using qemu-system-arm with vexpress-a15 board.
In this opportunity, I'm trying the git master head version:
# git rev-parse HEAD
af352675efb7e92
$ /usr/local/
audio: Could not init `oss' audio driver
Later on, when the machine finishes booting I savevm ss and quit. However, when I try to restore it, I have that Missing section footer error:
$ /usr/local/
audio: Could not init `oss' audio driver
qemu-system-arm: Missing section footer for sd-card
qemu-system-arm: Error -22 while loading VM state
OS: Ubuntu 16.04.3 LTS (xenial)
$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~
How have I built it?
# git clone git://git.
# cd qemu
# git submodule update --init --checkout
# make clean && ./configure --target-
# sudo make install
I've also tried a different ./configure line, explicitly enabling some of the features, i.e. smartcard, with the same results:
./configure '--disable-user' '--enable-system' '--enable-
As a reference, and just in case these may be in some way related, I've just submitted another ticket for a different issue with snapshots using Ubuntu Qemu version (https:/
Cheers,
Gus
description: | updated |
summary: |
- qemu git master snapshot doesn't work + migration state save/load of sdcard device is broken |
Changed in qemu: | |
status: | Fix Committed → Fix Released |
From a quick look my guess would be the wpgrps_size in sd_vmstate is different on the source and destination for some reason - it's the only thing that seems to be variable.
(It could also be whether the subsection is transmitted or not, but that's supposed to sort itself out automatically).