mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Per https://lore.kernel.org/qemu-devel/7798584d-e861-47b7-af52-2c2efb67a4de@proxmox.com/:
Loading a VM state taken with v10.1.2 or older doesn't work anymore,
using the script [*] we get:
kvm: VQ 1 size 0x100 < last_avail_idx 0x9 - used_idx 0x3e30
kvm: load of migration failed: Operation not permitted: error while loading state for instance 0x0 of device '0000:00:13.0/virtio-net': Failed to load element of type virtio for virtio: -1
qemu-system-x86_64: Missing section footer for 0000:00:13.0/virtio-net
qemu-system-x86_64: Section footer error, section_id: 41
[*]:
#!/bin/bash
rm /tmp/disk.qcow2
args="
-netdev type=tap,id=net1,ifname=tap104i1,script=/usr/libexec/qemu-server/pve-bridge,downscript=/usr/libexec/qemu-server/pve-bridgedown,vhost=on
-device virtio-net-pci,mac=BC:24:11:32:3C:69,netdev=net1,bus=pci.0,addr=0x13,id=net1
-machine type=pc-i440fx-10.1
"
$1/qemu-img create -f qcow2 /tmp/disk.qcow2 1G
$1/qemu-system-x86_64 --qmp stdio --blockdev qcow2,node-name=node0,file.driver=file,file.filename=/tmp/disk.qcow2 $args <<EOF
{"execute": "qmp_capabilities"}
{"execute": "snapshot-save", "arguments": { "job-id": "save0", "tag": "snap", "vmstate": "node0", "devices": ["node0"] } }
{"execute": "quit"}
EOF
$2/qemu-system-x86_64 --qmp stdio --blockdev qcow2,node-name=node0,file.driver=file,file.filename=/tmp/disk.qcow2 $args -loadvm snap
This reverts commit
|
2 weeks ago | |
|---|---|---|
| .. | ||
| accel | 4 months ago | |
| authz | ||
| block | 1 month ago | |
| chardev | 2 months ago | |
| crypto | 2 months ago | |
| disas | 1 year ago | |
| exec | 2 months ago | |
| fpu | 10 months ago | |
| gdbstub | 5 months ago | |
| hw | 2 weeks ago | |
| io | 1 month ago | |
| libdecnumber | 6 months ago | |
| migration | 2 weeks ago | |
| monitor | 2 months ago | |
| net | 2 months ago | |
| qapi | 3 months ago | |
| qemu | 2 weeks ago | |
| qobject | 2 months ago | |
| qom | 7 months ago | |
| scsi | 2 years ago | |
| semihosting | 3 months ago | |
| standard-headers | 2 months ago | |
| system | 1 month ago | |
| tcg | 3 weeks ago | |
| ui | 5 months ago | |
| user | 2 months ago | |
| elf.h | 4 months ago | |
| glib-compat.h | 8 months ago | |
| qemu-io.h | ||
| qemu-main.h | 12 months ago | |