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.
qemu/include/hw
Philippe Mathieu-Daudé efd6b3d176 Revert "hw/net/virtio-net: make VirtIONet.vlans an array instead of a pointer"
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 3a9cd2a4a1.

Reported-by: Fiona Ebner <f.ebner@proxmox.com>
Suggested-by: Fiona Ebner <f.ebner@proxmox.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2 weeks ago
..
acpi qapi/acpi-hest: add an interface to do generic CPER error injection 3 months ago
adc
arm hw/arm/aspeed: Rename and export connect_serial_hds_to_uarts() as aspeed_connect_serial_hds_to_uarts() 2 months ago
audio audio: move audio.h under include/qemu/ 2 months ago
block block: enable stats-intervals for storage devices 2 months ago
char * char: rename CharBackend->CharFrontend 2 months ago
core exec/cpu: Declare cpu_memory_rw_debug() in 'hw/core/cpu.h' and document 2 months ago
cpu
cxl hw/cxl: mailbox-utils: 0x5604 - FMAPI Initiate DC Add 5 months ago
display audio: move audio.h under include/qemu/ 2 months ago
dma include/hw/dma/xlnx_dpdma: Remove dependency on console.h 8 months ago
firmware hw/smbios: allow clearing the VM bit in SMBIOS table 0 3 months ago
fsi
gpio hw/gpio/aspeed: Fix definition of AspeedGPIOClass 7 months ago
hyperv include/hw/hyperv: Add MSHV ABI header definitions 3 months ago
i2c include/hw: replace FSF postal address with licenses URL 6 months ago
i386 intel_iommu: Handle PASID cache invalidation 2 months ago
ide
input qom: remove redundant typedef when use OBJECT_DECLARE_SIMPLE_TYPE 2 months ago
intc hw/int/loongarch: Include missing 'system/memory.h' header 2 months ago
ipack
ipmi
isa audio: move audio.h under include/qemu/ 2 months ago
loongarch hw/loongarch/virt: Sort order by hardware device base address 2 months ago
m68k
mem
mips
misc hw/southbridge/lasi: Correct LasiState parent 1 month ago
net hw/hppa: Enable LASI i82596 network on 715 machine 2 months ago
nubus
nvram hw/core/register: remove the calls to `register_finalize_block' 2 months ago
openrisc
pci hw/pci: Fix typo in documentation 2 weeks ago
pci-bridge
pci-host qom: remove redundant typedef when use OBJECT_DECLARE_SIMPLE_TYPE 2 months ago
ppc ppc/spapr: Cleanup MSI IRQ number handling 2 months ago
remote
riscv hw/riscv: Widen OpenSBI dynamic info struct 2 months ago
rtc
rx
s390x hw/s390x/ccw: Remove SCLPDevice::increment_size field 2 months ago
scsi qom: remove redundant typedef when use OBJECT_DECLARE_SIMPLE_TYPE 2 months ago
sd hw/sd/sdcard: Remove support for spec v1.10 4 months ago
sensor
sh4
southbridge x86: ich9: fix default value of 'No Reboot' bit in GCS 3 months ago
sparc
ssi hw/ssi: Document ssi_transfer() method 4 months ago
timer hw/pcspk: use explicitly the required PIT types 2 months ago
tricore
uefi hw/uefi: Include missing 'system/memory.h' header 2 months ago
usb
vfio qom: remove redundant typedef when use OBJECT_DECLARE_SIMPLE_TYPE 2 months ago
virtio Revert "hw/net/virtio-net: make VirtIONet.vlans an array instead of a pointer" 2 weeks ago
vmapple
watchdog
xen hw/xen: Avoid non-inclusive language in params.h 2 months ago
xtensa
boards.h hw/boards: Introduce DEFINE_MACHINE_WITH_INTERFACE_ARRAY() macro 2 months ago
clock.h
elf_ops.h.inc
fw-path-provider.h
hotplug.h
hw.h
irq.h hw/irq: New qemu_init_irq_child() function 4 months ago
loader-fit.h
loader.h hw/core/loader: capture Error from load_image_targphys 2 months ago
nmi.h
or-irq.h
platform-bus.h
ptimer.h
qdev-clock.h
qdev-core.h hw/qdev: Have qdev_get_gpio_out_connector() take const DeviceState arg 2 months ago
qdev-dma.h
qdev-properties-system.h audio: remove QEMUSoundCard 2 months ago
qdev-properties.h qdev: Change PropertyInfo method print() to return malloc'ed string 2 months ago
register.h hw/core/register: remove the `register_finalize_block' function 2 months ago
registerfields.h
resettable.h
stream.h
sysbus.h hw/sysbus: Have various helpers take a const SysBusDevice argument 2 months ago
usb.h
vmstate-if.h