Activity log for bug #1739378

Date Who What changed Old value New value Message
2017-12-20 08:10:11 Gustavo Moreira bug added bug
2017-12-20 08:10:11 Gustavo Moreira attachment added configure output for both cases https://bugs.launchpad.net/bugs/1739378/+attachment/5025000/+files/configure-output.tgz
2017-12-20 08:11:39 Gustavo Moreira tags qemu-system-arm snapshot arm qemu-system-arm snapshot vexpress-a15
2017-12-20 18:45:07 Dr. David Alan Gilbert bug added subscriber Dr. David Alan Gilbert
2017-12-21 01:41:50 Gustavo Moreira 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 af352675efb7e92a1f5f6461a042a12015ab3d12 $ /usr/local/bin/qemu-system-arm -kernel kernel/vmlinuz-4.10.0-42-generic -initrd kernel/initrd.img-4.10.0-42-generic -M vexpress-a15 -m 2048 -append 'root=/dev/mmcblk0 rootwait console=tty0' -sd vexpress-4G.qcow2 -dtb device-tree/vexpress-v2p-ca15-tc1.dtb 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/bin/qemu-system-arm -kernel kernel/vmlinuz-4.10.0-42-generic -initrd kernel/initrd.img-4.10.0-42-generic -M vexpress-a15 -m 2048 -append 'root=/dev/mmcblk0 rootwait console=tty0' -sd vexpress-4G.qcow2 -dtb device-tree/vexpress-v2p-ca15-tc1.dtb -loadvm ss 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~16.04.5) 5.4.0 20160609 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-linux-user' '--enable-modules' '--enable-linux-aio' '--audio-drv-list=pa' '--enable-attr' '--enable-brlapi' '--enable-virtfs' '--enable-cap-ng' '--enable-curl' '--enable-fdt' '--enable-gnutls' '--disable-gtk' '--disable-vte' '--enable-libiscsi' '--enable-curses' '--enable-smartcard' '--enable-rbd' '--enable-vnc-sasl' '--enable-seccomp' '--enable-spice' '--enable-libusb' '--enable-usb-redir' '--enable-xfsctl' '--enable-vnc' '--enable-vnc-jpeg' '--enable-vnc-png' '--enable-kvm' '--enable-vhost-net' How have I built it? # git clone git://git.qemu.org/qemu.git # cd qemu # git submodule update --init --checkout # make clean && ./configure --target-list=arm-softmmu && make -j8 # sudo make install 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://bugs.launchpad.net/qemu/+bug/1739371) Cheers, Gus 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 af352675efb7e92a1f5f6461a042a12015ab3d12 $ /usr/local/bin/qemu-system-arm -kernel kernel/vmlinuz-4.10.0-42-generic -initrd kernel/initrd.img-4.10.0-42-generic -M vexpress-a15 -m 2048 -append 'root=/dev/mmcblk0 rootwait console=tty0' -sd vexpress-4G.qcow2 -dtb device-tree/vexpress-v2p-ca15-tc1.dtb 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/bin/qemu-system-arm -kernel kernel/vmlinuz-4.10.0-42-generic -initrd kernel/initrd.img-4.10.0-42-generic -M vexpress-a15 -m 2048 -append 'root=/dev/mmcblk0 rootwait console=tty0' -sd vexpress-4G.qcow2 -dtb device-tree/vexpress-v2p-ca15-tc1.dtb -loadvm ss 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~16.04.5) 5.4.0 20160609 How have I built it? # git clone git://git.qemu.org/qemu.git # cd qemu # git submodule update --init --checkout # make clean && ./configure --target-list=arm-softmmu && make -j8 # 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-linux-user' '--enable-modules' '--enable-linux-aio' '--audio-drv-list=pa' '--enable-attr' '--enable-brlapi' '--enable-virtfs' '--enable-cap-ng' '--enable-curl' '--enable-fdt' '--enable-gnutls' '--disable-gtk' '--disable-vte' '--enable-libiscsi' '--enable-curses' '--enable-smartcard' '--enable-rbd' '--enable-vnc-sasl' '--enable-seccomp' '--enable-spice' '--enable-libusb' '--enable-usb-redir' '--enable-xfsctl' '--enable-vnc' '--enable-vnc-jpeg' '--enable-vnc-png' '--enable-kvm' '--enable-vhost-net' 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://bugs.launchpad.net/qemu/+bug/1739371) Cheers, Gus
2018-01-08 16:57:01 Peter Maydell summary qemu git master snapshot doesn't work migration state save/load of sdcard device is broken
2018-02-08 06:43:44 Thomas Huth qemu: status New Fix Committed
2018-04-26 05:14:11 Thomas Huth qemu: status Fix Committed Fix Released