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 | |
|---|---|---|
| .. | ||
| acpi | 3 months ago | |
| adc | ||
| arm | 2 months ago | |
| audio | 2 months ago | |
| block | 2 months ago | |
| char | 2 months ago | |
| core | 2 months ago | |
| cpu | ||
| cxl | 5 months ago | |
| display | 2 months ago | |
| dma | 8 months ago | |
| firmware | 3 months ago | |
| fsi | ||
| gpio | 7 months ago | |
| hyperv | 3 months ago | |
| i2c | 6 months ago | |
| i386 | 2 months ago | |
| ide | ||
| input | 2 months ago | |
| intc | 2 months ago | |
| ipack | ||
| ipmi | ||
| isa | 2 months ago | |
| loongarch | 2 months ago | |
| m68k | ||
| mem | ||
| mips | ||
| misc | 1 month ago | |
| net | 2 months ago | |
| nubus | ||
| nvram | 2 months ago | |
| openrisc | ||
| pci | 2 weeks ago | |
| pci-bridge | ||
| pci-host | 2 months ago | |
| ppc | 2 months ago | |
| remote | ||
| riscv | 2 months ago | |
| rtc | ||
| rx | ||
| s390x | 2 months ago | |
| scsi | 2 months ago | |
| sd | 4 months ago | |
| sensor | ||
| sh4 | ||
| southbridge | 3 months ago | |
| sparc | ||
| ssi | 4 months ago | |
| timer | 2 months ago | |
| tricore | ||
| uefi | 2 months ago | |
| usb | ||
| vfio | 2 months ago | |
| virtio | 2 weeks ago | |
| vmapple | ||
| watchdog | ||
| xen | 2 months ago | |
| xtensa | ||
| boards.h | 2 months ago | |
| clock.h | ||
| elf_ops.h.inc | ||
| fw-path-provider.h | ||
| hotplug.h | ||
| hw.h | ||
| irq.h | 4 months ago | |
| loader-fit.h | ||
| loader.h | 2 months ago | |
| nmi.h | ||
| or-irq.h | ||
| platform-bus.h | ||
| ptimer.h | ||
| qdev-clock.h | ||
| qdev-core.h | 2 months ago | |
| qdev-dma.h | ||
| qdev-properties-system.h | 2 months ago | |
| qdev-properties.h | 2 months ago | |
| register.h | 2 months ago | |
| registerfields.h | ||
| resettable.h | ||
| stream.h | ||
| sysbus.h | 2 months ago | |
| usb.h | ||
| vmstate-if.h | ||