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/hw/display
Arun Menon 986c3292c6 migration: Fix regression of passing error_fatal into vmstate_load_state()
error_fatal is passed to vmstate_load_state() and vmstate_save_state()
functions. This was introduced in commit c632ffbd74. This would exit(1)
on error, and therefore does not allow to propagate the error back to
the caller.

To maintain consistency with prior error handling i.e. either propagating
the error to the caller or reporting it, we must set the error within a
local Error object instead of using error_fatal.

Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Arun Menon <armenon@redhat.com>
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Link: https://lore.kernel.org/r/20251028-solve_error_fatal_regression-v2-1-dab24c808a28@redhat.com
[peterx: always uninit var ret, per Akihiko]
[peterx: touchups on line ordering, spacings etc.]
Signed-off-by: Peter Xu <peterx@redhat.com>
2 weeks ago
..
Kconfig pvg: do not enable it on cross-architecture targets 9 months ago
acpi-vga-stub.c acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors 3 years ago
acpi-vga.c acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors 3 years ago
apple-gfx-mmio.m qom: Have class_init() take a const data argument 7 months ago
apple-gfx-pci.m qom: Make InterfaceInfo[] uses const 7 months ago
apple-gfx.h include/system: Move exec/memory.h to system/memory.h 7 months ago
apple-gfx.m hw/display/apple-gfx: Replace QemuSemaphore with QemuEvent 5 months ago
artist.c qemu: Declare all load/store helper in 'qemu/bswap.h' 4 months ago
ati.c qemu: Declare all load/store helper in 'qemu/bswap.h' 4 months ago
ati_2d.c hw/display/ati: allow compiling without PIXMAN 2 years ago
ati_dbg.c ati-vga: Add 30 bit palette access register 2 years ago
ati_int.h ati-vga: Implement fallback for pixman routines 2 years ago
ati_regs.h ati-vga: Add 30 bit palette access register 2 years ago
bcm2835_fb.c hw/display/bcm2835_fb: Move inclusion of console.h to the .c file 2 months ago
bochs-display.c qom: Make InterfaceInfo[] uses const 7 months ago
cg3.c qom: Have class_init() take a const data argument 7 months ago
cirrus_vga.c qom: Make InterfaceInfo[] uses const 7 months ago
cirrus_vga_internal.h hw/display/cirrus_vga: Move "isa-cirrus-vga" device into a separate file 7 years ago
cirrus_vga_isa.c qom: Have class_init() take a const data argument 7 months ago
cirrus_vga_rop.h cirrus: fix off-by-one in cirrus_bitblt_rop_bkwd_transp_*_16 9 years ago
cirrus_vga_rop2.h cirrus: fix PUTPIXEL macro 9 years ago
dm163.c qom: Have class_init() take a const data argument 7 months ago
dpcd.c qom: Have class_init() take a const data argument 7 months ago
edid-generate.c edid: Fix clock of Detailed Timing Descriptor 4 years ago
edid-region.c include/system: Move exec/memory.h to system/memory.h 7 months ago
exynos4210_fimd.c qom: Have class_init() take a const data argument 7 months ago
framebuffer.c hw/display/framebuffer: Add cast to force 64x64 multiply 3 months ago
framebuffer.h include/system: Move exec/memory.h to system/memory.h 7 months ago
g364fb.c qom: Have class_init() take a const data argument 7 months ago
i2c-ddc.c qom: Have class_init() take a const data argument 7 months ago
jazz_led.c qom: Have class_init() take a const data argument 7 months ago
macfb.c qom: Have class_init() take a const data argument 7 months ago
meson.build pvg: add option to configure it out 9 months ago
next-fb.c qom: Have class_init() take a const data argument 7 months ago
omap_lcdc.c hw/arm/omap: Drop useless casts from void * to pointer 3 years ago
pl110.c qom: Have class_init() take a const data argument 7 months ago
pl110_template.h Replace config-time define HOST_WORDS_BIGENDIAN 4 years ago
qxl-logger.c hw/display/qxl: Pass requested buffer size to qxl_phys2virt() 3 years ago
qxl-render.c hw/display/qxl-render: fix qxl_unpack_chunks() chunk size calculation 4 months ago
qxl.c qom: Make InterfaceInfo[] uses const 7 months ago
qxl.h Replace "iothread lock" with "BQL" in comments 2 years ago
ramfb-standalone.c hw/i386: Add the ramfb romfile compatibility 4 months ago
ramfb-stubs.c ramfb: Add property to control if load the romfile 4 months ago
ramfb.c ramfb: Add property to control if load the romfile 4 months ago
sii9022.c qom: Have class_init() take a const data argument 7 months ago
sm501.c hw/display/sm501: fix missing error-report.h 4 months ago
ssd0303.c qom: Have class_init() take a const data argument 7 months ago
ssd0323.c qom: Have class_init() take a const data argument 7 months ago
tcx.c qom: Have class_init() take a const data argument 7 months ago
trace-events hw/display: add blob map/unmap trace events 4 weeks ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
vga-access.h vga: move access helpers to separate include file 6 years ago
vga-helpers.h vga: optimize horizontal pel panning in 256-color modes 2 years ago
vga-isa.c qom: Have class_init() take a const data argument 7 months ago
vga-mmio.c qom: Have class_init() take a const data argument 7 months ago
vga-pci.c qom: Make InterfaceInfo[] uses const 7 months ago
vga.c qemu: Convert target_words_bigendian() to TargetInfo API 4 months ago
vga_int.h include/system: Move exec/ioport.h to system/ioport.h 7 months ago
vga_regs.h vga: sort-of implement word and double-word access modes 2 years ago
vhost-user-gpu-pci.c modules: introduces module_kconfig directive 3 years ago
vhost-user-gpu.c vhost-user: return failure if backend crash when live migration 6 months ago
vhost-user-vga.c modules: introduces module_kconfig directive 3 years ago
virtio-dmabuf.c hw/display: fix memleak from virtio_add_resource 2 years ago
virtio-gpu-base.c hw/display: Allow injection of virtio-gpu EDID name 4 months ago
virtio-gpu-gl.c qom: Have class_init() take a const data argument 7 months ago
virtio-gpu-pci-gl.c modules: introduces module_kconfig directive 3 years ago
virtio-gpu-pci-rutabaga.c qom: Make InterfaceInfo[] uses const 7 months ago
virtio-gpu-pci.c qom: Have class_init() take a const data argument 7 months ago
virtio-gpu-rutabaga.c qom: Have class_init() take a const data argument 7 months ago
virtio-gpu-udmabuf-stubs.c virtio-gpu: splitting one extended mode guest fb into n-scanouts 4 years ago
virtio-gpu-udmabuf.c ui/egl: use DRM_FORMAT_MOD_INVALID as default modifier 6 months ago
virtio-gpu-virgl.c hw/display: add blob map/unmap trace events 4 weeks ago
virtio-gpu.c migration: Fix regression of passing error_fatal into vmstate_load_state() 2 weeks ago
virtio-vga-gl.c modules: introduces module_kconfig directive 3 years ago
virtio-vga-rutabaga.c gfxstream + rutabaga: add initial support for gfxstream 2 years ago
virtio-vga.c qom: Have class_init() take a const data argument 7 months ago
virtio-vga.h hw/display/virtio-vga: Convert TYPE_VIRTIO_VGA_BASE to 3-phase reset 3 years ago
vmware_vga.c hw/display/vmware_vga: skip automatic zero-init of large struct 5 months ago
xenfb.c hw/display/xenfb: Replace unreachable code by g_assert_not_reached() 1 month ago
xlnx_dp.c audio: remove QEMUSoundCard 2 weeks ago