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/core
Cédric Le Goater 1ebdd2d926 hw/i386: Fix 'use-legacy-x86-rom' property compatibility
Commit 350785d41d ("ramfb: Add property to control if load the
romfile") introduced the `use-legacy-x86-rom` property for the
`vfio-pci-nohotplug` device, allowing control over VGA BIOS ROM
loading. However, the property compatibility setting was incorrectly
applied to the `vfio-pci` device instead, which causes all `vfio-pci`
devices to fail to load. This change fixes the issue by ensuring the
property is set on the correct device.

Fixes: d5fcf0d960 ("hw/i386: Add the ramfb romfile compatibility")
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Shaoqin Huang <shahuang@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250723062714.1245826-1-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2 weeks ago
..
Kconfig hw/core: Add Enclave Image Format (EIF) related helpers 9 months ago
bus.c qom: Make InterfaceInfo[] uses const 4 months ago
clock-vmstate.c hw/core: Constify VMState 2 years ago
clock.c qom: Have class_init() take a const data argument 4 months ago
cpu-common.c hw/core/cpu-common: Don't init gdbstub until cpu_exec_realizefn() 3 months ago
cpu-system.c qemu: Convert target_words_bigendian() to TargetInfo API 4 weeks ago
cpu-user.c cpus: Remove CPUClass::has_work() handler 5 months ago
eif.c hw/core/eif: Use stateful qcrypto apis 8 months ago
eif.h hw/core: Add Enclave Image Format (EIF) related helpers 9 months ago
fw-path-provider.c Include qemu/module.h where needed, drop it from qemu-common.h 6 years ago
generic-loader.c qom: Have class_init() take a const data argument 4 months ago
gpio.c qdev: Use machine_get_container() 7 months ago
guest-loader.c qom: Have class_init() take a const data argument 4 months ago
guest-loader.h hw/core: implement a guest-loader to support static hypervisor guests 4 years ago
hotplug.c call HotplugHandler->plug() as the last step in device realization 7 years ago
irq.c hw/irq: Introduce qemu_init_irqs() helper 6 months ago
loader-fit.c include/system: Move exec/memory.h to system/memory.h 4 months ago
loader.c hw/nvram/fw_cfg: Remove legacy FW_CFG_ORDER_OVERRIDE 2 months ago
machine-hmp-cmds.c hw/core/machine: Display CPU model name in 'info cpus' command 4 weeks ago
machine-qmp-cmds.c Accelerators patches 4 weeks ago
machine-smp.c i386/cpu: add has_caches flag to check smp_cache configuration 6 months ago
machine.c hw/i386: Fix 'use-legacy-x86-rom' property compatibility 2 weeks ago
meson.build meson: remove lib{system, user}_ss aliases 3 months ago
nmi.c hw/core: Improve error message when machine doesn't provide NMIs 3 years ago
null-machine.c include/system: Move exec/address-spaces.h to system/address-spaces.h 4 months ago
numa.c include: Rename sysemu/ -> system/ 8 months ago
or-irq.c qom: Have class_init() take a const data argument 4 months ago
platform-bus.c qom: Have class_init() take a const data argument 4 months ago
ptimer.c include/exec: Split out icount.h 4 months ago
qdev-clock.c clock: inline most of qdev_init_clocklist 8 months ago
qdev-fw.c Include hw/qdev-properties.h less 6 years ago
qdev-hotplug.c hw/qdev: Check machine_hotplug_handler in hotplug_unplug_allowed_common 7 months ago
qdev-prop-internal.h qdev: Make qdev_propinfo_get_uint16() static 5 years ago
qdev-properties-system.c hw/display: Allow injection of virtio-gpu EDID name 4 weeks ago
qdev-properties.c qdev-properties: Add DEFINE_PROP_ON_OFF_AUTO_BIT64() 4 weeks ago
qdev-user.c qdev: Implement qdev_create_fake_machine() for user emulation 7 months ago
qdev.c qom: Make InterfaceInfo[] uses const 4 months ago
register.c qom: Have class_init() take a const data argument 4 months ago
reset.c qom: Have class_init() take a const data argument 4 months ago
resetcontainer.c qom: Have class_init() take a const data argument 4 months ago
resettable.c hw/core/resettable: Remove transitional_function machinery 11 months ago
split-irq.c qom: Have class_init() take a const data argument 4 months ago
stream.c hw/core/stream: Rename StreamSlave as StreamSink 5 years ago
sysbus-fdt.c vfio: Introduce new files for VFIORegion definitions and declarations 4 months ago
sysbus.c hw/core/sysbus: Introduce sysbus_mmio_map_name() helper 4 weeks ago
trace-events trace-events: remove the remaining vcpu trace events 2 years ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
uboot_image.h license: Update deprecated SPDX tag GPL-2.0+ to GPL-2.0-or-later 11 months ago
vm-change-state-handler.c system/runstate: add VM state change cb with return value 3 months ago
vmstate-if.c vmstate: add qom interface to get id 6 years ago