libvirt/src/qemu
Andrea Bolognani e4abb5f0fd qemu: Make firmware parsing failures non-fatal
At the moment, any kind of issue being detected in any of the
firmware descriptor files will result in the entire process
being aborted.

In particular, installing a build of edk2 for an architecture
that libvirt doesn't yet know about, for example loongarch64,
will break most firmware-related functionality: it will no
longer be possible to define new EFI VMs, start existing ones,
or even just obtain the domcapabilities for any architecture.

This is obviously unnecessarily harsh. Adopt a more relaxed
approach and simply ignore the firmware descriptors that we
are unable to parse correctly.

https://bugzilla.redhat.com/show_bug.cgi?id=2258946

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2024-03-04 14:36:39 +01:00
..
libvirt_qemu_probes.d
libvirt-qemu.sysusers.conf qemu: Add sysusers config file for qemu & kvm user/groups 2024-02-13 16:59:57 +01:00
libvirtd_qemu.aug qemu: add runtime config option for nbdkit 2024-01-04 14:34:40 -06:00
meson.build build: Add userfaultfd_sysctl build option 2024-02-13 17:44:26 +01:00
postcopy-migration.sysctl qemu: Ignore missing vm.unprivileged_userfaultfd sysctl 2022-02-09 13:03:33 +01:00
qemu_agent.c qemu: Fix guest-sync response time in qga command 2024-02-22 09:51:23 +01:00
qemu_agent.h qemu_agent: Drop @singleSync from _qemuAgent 2022-11-08 12:10:50 +01:00
qemu_alias.c qemu: Drop qemuDomainFindSCSIControllerModel() 2024-01-30 10:58:13 +01:00
qemu_alias.h qemu: add support for multiple secret aliases 2023-03-16 15:19:35 +01:00
qemu_backup.c qemu: backup: Use format nodename accessors 2023-10-17 14:16:16 +02:00
qemu_backup.h qemu: remove unused driver and all its propagations 2022-08-10 16:50:07 +02:00
qemu_block.c qemuBlockStorageSourceNeedsFormatLayer: Stop formatting 'raw' driver when not needed 2024-02-02 16:03:08 +01:00
qemu_block.h qemuBlockStorageSourceNeedsFormatLayer: Stop formatting 'raw' driver when not needed 2024-02-02 16:03:08 +01:00
qemu_blockjob.c conf: Rename 'nodeformat' field of virStorageSource to 'nodenameformat' 2023-10-17 14:16:18 +02:00
qemu_blockjob.h qemu: blockjob: Handle 'pending' blockjob state only when we need it 2023-02-13 14:20:01 +01:00
qemu_capabilities.c qemu: capabilities: Introduce QEMU_CAPS_BLOCKJOB_BACKING_MASK_PROTOCOL 2024-02-02 16:03:08 +01:00
qemu_capabilities.h qemu: capabilities: Introduce QEMU_CAPS_BLOCKJOB_BACKING_MASK_PROTOCOL 2024-02-02 16:03:08 +01:00
qemu_capspriv.h qemu: capabilities: Unexport 'virQEMUCapsAddMachine' 2023-09-06 14:09:46 +02:00
qemu_cgroup.c qemu: Add support for /dev/userfaultfd 2024-02-13 17:44:26 +01:00
qemu_cgroup.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_checkpoint.c qemu: Use 'format' nodename accessors for block dirty bitmap operations 2023-10-17 14:16:17 +02:00
qemu_checkpoint.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_command.c hypervisor: Move domain interface mgmt methods 2024-02-02 10:58:26 +01:00
qemu_command.h qemu: make vdpa connect function more generic 2023-09-12 11:06:41 -05:00
qemu_conf.c qemu: add runtime config option for nbdkit 2024-01-04 14:34:40 -06:00
qemu_conf.h qemu: add runtime config option for nbdkit 2024-01-04 14:34:40 -06:00
qemu_dbus.c qemu: Find dbus-daemon at runtime 2023-05-11 15:04:50 +02:00
qemu_dbus.h
qemu_domain_address.c qemu: Handle MODEL_SCSI_{AUTO,DEFAULT} appropriately 2024-02-01 10:37:22 +01:00
qemu_domain_address.h qemu: Move qemuDomainGetSCSIControllerModel() 2024-01-30 10:58:13 +01:00
qemu_domain.c qemu: handle adding/removing nbdkit-backed disk sources 2024-02-12 16:13:17 -06:00
qemu_domain.h qemu: Move qemuDomainGetSCSIControllerModel() 2024-01-30 10:58:13 +01:00
qemu_domainjob.c util: virtypedparam: Remove return values from virTypedParamListAdd* APIs 2023-05-02 14:32:46 +02:00
qemu_domainjob.h qemu & conf: move BeginNestedJob & BeginJobNowait into src/conf 2022-09-07 12:15:28 +02:00
qemu_driver.c qemu: tighten semantics of 'size' when resizing block devices 2024-01-09 11:57:13 +00:00
qemu_driver.h
qemu_extdevice.c qemu: add a 'chain' parameter to nbdkit start/stop 2024-02-12 16:13:17 -06:00
qemu_extdevice.h qemu_extdevice: Expose qemuExtDevicesInitPaths() 2022-12-05 14:25:15 +01:00
qemu_fd.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_fd.h qemu: fd: Add helpers allowing storing FD set data in status XML 2023-02-01 09:17:41 +01:00
qemu_firmware.c qemu: Make firmware parsing failures non-fatal 2024-03-04 14:36:39 +01:00
qemu_firmware.h qemu: Match NVRAM template extension for new domains 2023-08-21 13:51:32 +02:00
qemu_hostdev.c conf: replace virHostdevIsVFIODevice with virHostdevIsPCIDevice 2024-01-07 23:58:44 -05:00
qemu_hostdev.h qemu: Stop virQEMUCaps propagation into qemuHostdevPreparePCIDevices() 2023-04-25 12:36:31 +02:00
qemu_hotplug.c qemu: handle adding/removing nbdkit-backed disk sources 2024-02-12 16:13:17 -06:00
qemu_hotplug.h qemu_hotplug.h: Expose less functions 2023-04-25 08:46:27 +02:00
qemu_interface.c hypervisor: Move domain interface mgmt methods 2024-02-02 10:58:26 +01:00
qemu_interface.h hypervisor: Move domain interface mgmt methods 2024-02-02 10:58:26 +01:00
qemu_interop_config.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_interop_config.h
qemu_logcontext.c qemu: move qemuProcessReadLog() to qemuLogContext 2023-09-19 14:28:50 -05:00
qemu_logcontext.h qemu: move qemuProcessReadLog() to qemuLogContext 2023-09-19 14:28:50 -05:00
qemu_migration_cookie.c Don't overwrite error message from 'virXPathNodeSet' 2024-01-31 17:24:07 +01:00
qemu_migration_cookie.h qemu: Reindent qemuMigrationCookieParse prototype arguments 2022-12-01 11:01:58 +01:00
qemu_migration_params.c qemu: Enable postcopy-preempt migration capability 2024-01-08 22:41:23 +01:00
qemu_migration_params.h qemu: Enable postcopy-preempt migration capability 2024-01-08 22:41:23 +01:00
qemu_migration_paramspriv.h qemu_migration: Apply max-postcopy-bandwidth on post-copy resume 2022-07-01 11:28:34 +02:00
qemu_migration.c qemuMigrationDstPrepareStorage: Annotate that existance of 'volume' disks is checked elswhere 2024-02-21 14:15:49 +01:00
qemu_migration.h qemu: support set parallel migration compression method 2023-05-18 15:47:30 +02:00
qemu_monitor_json.c qemu: monitor: Use 'backing-mask-protocol' for blockjobs when available 2024-02-02 16:03:08 +01:00
qemu_monitor_json.h qemu: monitor: Sanitize arguments of qemuMonitorBlockdevReopen 2023-11-27 10:14:20 +01:00
qemu_monitor_priv.h qemu: monitor: Use 'backing-mask-protocol' for blockjobs when available 2024-02-02 16:03:08 +01:00
qemu_monitor_text.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_monitor_text.h qemu: monitor: Remove unused qemuMonitorAddDrive/qemuMonitorDriveDel 2022-08-11 15:23:21 +02:00
qemu_monitor.c qemu_monitor: Simplify qemuMonitorIOWriteWithFD() 2024-02-07 12:35:02 +01:00
qemu_monitor.h qemu: Make monitor aware of CPU clusters 2024-01-15 14:56:36 +01:00
qemu_namespace.c virDomainRNGDef: Convert 'backend' field to proper enum type 2023-09-15 10:35:11 +02:00
qemu_namespace.h qemu_namespace: Introduce qemuDomainNamespaceSetupPath() 2022-09-23 16:33:09 +02:00
qemu_nbdkit.c qemu: handle adding/removing nbdkit-backed disk sources 2024-02-12 16:13:17 -06:00
qemu_nbdkit.h qemu: add a 'chain' parameter to nbdkit start/stop 2024-02-12 16:13:17 -06:00
qemu_nbdkitpriv.h tests: add tests for nbdkit invocation 2023-09-19 14:28:50 -05:00
qemu_passt.c meson: Stop looking for passt at build time 2023-12-05 11:50:44 +01:00
qemu_passt.h qemu: hook up passt config to qemu domains 2023-01-10 01:19:25 -05:00
qemu_process.c qemu: Add support for /dev/userfaultfd 2024-02-13 17:44:26 +01:00
qemu_process.h qemu: process: Extract host setup of disk device into helpers 2023-10-27 15:04:20 +02:00
qemu_processpriv.h qemu: Do not pass unused opaque pointer to monitor callbacks 2022-05-24 16:26:04 +02:00
qemu_qapi.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_qapi.h
qemu_saveimage.c qemuProcessStartWithMemoryState: add snapshot argument 2023-10-09 13:56:49 +02:00
qemu_saveimage.h qemu_saveimage: move qemuSaveImageStartProcess to qemu_process 2023-10-09 13:56:49 +02:00
qemu_security.c qemu: Add support for /dev/userfaultfd 2024-02-13 17:44:26 +01:00
qemu_security.h qemu: Add support for /dev/userfaultfd 2024-02-13 17:44:26 +01:00
qemu_shim.c qemu_shim: Require absolute path for root directory 2023-03-22 15:53:33 +01:00
qemu_slirp.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_slirp.h qemu: slirp: Remove unused 'qemuSlirpGetFD' 2022-05-16 09:15:46 +02:00
qemu_snapshot.c qemu_snapshot: create: don't require disk-only flag for offline external snapshot 2024-01-30 13:54:42 +01:00
qemu_snapshot.h qemu_snapshot: move snapshot discard out of qemu_domain.c 2023-01-09 13:32:55 +01:00
qemu_tpm.c qemu: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
qemu_tpm.h qemu: tpm: Never remove state on outgoing migration and shared storage 2022-11-09 12:26:42 +01:00
qemu_validate.c qemu: Handle MODEL_SCSI_{AUTO,DEFAULT} appropriately 2024-02-01 10:37:22 +01:00
qemu_validate.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_vhost_user_gpu.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_vhost_user_gpu.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_vhost_user.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_vhost_user.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_virtiofs.c qemu: virtiofs: auto-fill idmap for unprivileged use 2023-12-14 17:10:22 +01:00
qemu_virtiofs.h
qemu.conf.in qemu: Add support for /dev/userfaultfd 2024-02-13 17:44:26 +01:00
test_libvirtd_qemu.aug.in qemu: Add support for /dev/userfaultfd 2024-02-13 17:44:26 +01:00
virtqemud.init.in
virtqemud.service.extra.in systemd: Set service_extra_in/socket_extra_in everywhere 2023-10-25 12:19:32 +02:00
virtqemud.socket.extra.in systemd: Set service_extra_in/socket_extra_in everywhere 2023-10-25 12:19:32 +02:00