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 | |
|---|---|---|
| .. | ||
| cbor-helpers.h | 1 year ago | |
| iothread-vq-mapping.h | 10 months ago | |
| vdpa-dev.h | ||
| vhost-backend.h | 3 months ago | |
| vhost-scsi-common.h | 8 months ago | |
| vhost-scsi.h | ||
| vhost-user-base.h | 2 months ago | |
| vhost-user-blk.h | 2 months ago | |
| vhost-user-fs.h | 2 months ago | |
| vhost-user-gpio.h | ||
| vhost-user-i2c.h | ||
| vhost-user-rng.h | ||
| vhost-user-scmi.h | 2 months ago | |
| vhost-user-scsi.h | ||
| vhost-user-snd.h | ||
| vhost-user-vsock.h | 2 months ago | |
| vhost-user.h | 2 months ago | |
| vhost-vdpa.h | 7 months ago | |
| vhost-vsock-common.h | 8 months ago | |
| vhost-vsock.h | ||
| vhost.h | 3 months ago | |
| virtio-access.h | ||
| virtio-acpi.h | 1 year ago | |
| virtio-balloon.h | 10 months ago | |
| virtio-blk-common.h | ||
| virtio-blk.h | 10 months ago | |
| virtio-bus.h | ||
| virtio-crypto.h | 1 year ago | |
| virtio-dmabuf.h | ||
| virtio-features.h | 3 months ago | |
| virtio-gpu-bswap.h | ||
| virtio-gpu-pci.h | ||
| virtio-gpu-pixman.h | ||
| virtio-gpu.h | 2 months ago | |
| virtio-input.h | 1 year ago | |
| virtio-iommu.h | 1 year ago | |
| virtio-md-pci.h | ||
| virtio-mem.h | 7 months ago | |
| virtio-mmio.h | ||
| virtio-net.h | 2 weeks ago | |
| virtio-nsm.h | 1 year ago | |
| virtio-pci.h | 3 months ago | |
| virtio-pmem.h | 7 months ago | |
| virtio-rng.h | 1 year ago | |
| virtio-scsi.h | 2 months ago | |
| virtio-serial.h | 2 months ago | |
| virtio.h | 3 months ago | |