libvirt/src/qemu
Jonathon Jongsma af437d2d64 qemu: Don't specify vfio-pci.ramfb when ramfb is false
Commit 7c8e606b64 attempted to fix
the specification of the ramfb property for vfio-pci devices, but it
failed when ramfb is explicitly set to 'off'. This is because only the
'vfio-pci-nohotplug' device supports the 'ramfb' property. Since we use
the base 'vfio-pci' device unless ramfb is enabled, attempting to set
the 'ramfb' parameter to 'off' this will result in an error like the
following:

  error: internal error: QEMU unexpectedly closed the monitor
  (vm='rhel'): 2024-06-06T04:43:22.896795Z qemu-kvm: -device
  {"driver":"vfio-pci","host":"0000:b1:00.4","id":"hostdev0","display":"on
  ","ramfb":false,"bus":"pci.7","addr":"0x0"}: Property 'vfio-pci.ramfb'
  not found.

This also more closely matches what is done for mdev devices.

Resolves: https://issues.redhat.com/browse/RHEL-28808

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2024-06-24 08:55:50 -05: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: Tweak augeas schema 2024-03-20 18:37:58 +01:00
meson.build meson: allow systemd sysusersdir to be changed 2024-06-13 10:23:11 +01:00
postcopy-migration.sysctl
qemu_agent.c qemu: Fix guest-sync response time in qga command 2024-02-22 09:51:23 +01:00
qemu_agent.h
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 qemuBlockJobProcessEventConcludedBackup: Handle potentially NULL 'job->disk' 2024-06-20 09:52:54 +02:00
qemu_backup.h qemuBlockJobProcessEventConcludedBackup: Handle potentially NULL 'job->disk' 2024-06-20 09:52:54 +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 qemuBlockJobProcessEventConcludedBackup: Handle potentially NULL 'job->disk' 2024-06-20 09:52:54 +02:00
qemu_blockjob.h
qemu_capabilities.c qemu_capabilities: Introduce QEMU_CAPS_SEV_SNP_GUEST 2024-06-21 09:56:18 +02:00
qemu_capabilities.h qemu_capabilities: Introduce QEMU_CAPS_SEV_SNP_GUEST 2024-06-21 09:56:18 +02:00
qemu_capspriv.h qemu: capabilities: Unexport 'virQEMUCapsAddMachine' 2023-09-06 14:09:46 +02:00
qemu_cgroup.c conf: Introduce SEV-SNP support 2024-06-21 09:56:57 +02:00
qemu_cgroup.h
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_command.c qemu: Don't specify vfio-pci.ramfb when ramfb is false 2024-06-24 08:55:50 -05:00
qemu_command.h qemu: Implement support for hotplugging evdev input devices 2024-05-16 14:56:59 +02: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 conf: Introduce support for virtio-sound devices 2024-05-02 15:38:32 +02:00
qemu_domain_address.h qemu: Move qemuDomainGetSCSIControllerModel() 2024-01-30 10:58:13 +01:00
qemu_domain.c qemuDomainDiskChangeSupported: Fill in missing check 2024-06-24 11:14:56 +02:00
qemu_domain.h qemu: domain: Introduce qemuDomainObjIsActive helper 2024-06-20 09:58:52 +02:00
qemu_domainjob.c util: virtypedparam: Remove return values from virTypedParamListAdd* APIs 2023-05-02 14:32:46 +02:00
qemu_domainjob.h
qemu_driver.c conf: Introduce SEV-SNP support 2024-06-21 09:56:57 +02: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_fd.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_fd.h
qemu_firmware.c qemu_firmware: Pick the right firmware for SEV-SNP guests 2024-06-21 09:59:04 +02: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: hotplug: Validate definition of 'FS' device after address allocation 2024-05-31 12:54:32 +02: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 qemu: domain: Drop added features from migratable CPU 2024-03-14 16:15:06 +01:00
qemu_migration_cookie.h
qemu_migration_params.c qemu: migration: Don't use empty string for 'tls-hostname' NBD blockdev 2024-04-24 13:45:56 +02: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.c qemu: migration: Preserve error across qemuDomainSetMaxMemLock() on error paths 2024-06-20 09:58:52 +02: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: Allow querying SEV-SNP state in 'query-sev' 2024-06-21 09:35:32 +02:00
qemu_monitor_json.h qemu_monitor: Allow querying SEV-SNP state in 'query-sev' 2024-06-21 09:35:32 +02: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.c qemu_monitor: Allow querying SEV-SNP state in 'query-sev' 2024-06-21 09:35:32 +02:00
qemu_monitor.h qemu_monitor: Allow querying SEV-SNP state in 'query-sev' 2024-06-21 09:35:32 +02:00
qemu_namespace.c conf: Introduce SEV-SNP support 2024-06-21 09:56:57 +02:00
qemu_namespace.h
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_process.c conf: Introduce SEV-SNP support 2024-06-21 09:56:57 +02: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_qapi.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_qapi.h
qemu_saveimage.c qemu_saveimage: add zstd to supported compression formats 2024-05-06 14:56:58 +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_snapshot.c qemu_snapshot: fix memory leak when reverting external snapshot 2024-05-29 15:23:55 +02:00
qemu_snapshot.h
qemu_tpm.c qemu: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
qemu_tpm.h
qemu_validate.c conf: Introduce SEV-SNP support 2024-06-21 09:56:57 +02:00
qemu_validate.h
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_vhost_user.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_vhost_user.h
qemu_virtiofs.c qemu: virtiofs: error out if getting the group or user name fails 2024-03-18 15:20:24 +01:00
qemu_virtiofs.h
qemu.conf.in qemu_saveimage: add zstd to supported compression formats 2024-05-06 14:56:58 +02: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