libvirt/src/qemu
Michal Privoznik 3b87709c76 qemu: Move <hostdev/> PCI backend setting into qemuDomainPrepareHostdev()
virsh command domxml-to-native failed with below error but start
command succeed for same domain xml.

  "internal error: invalid PCI passthrough type 'default'"

If a <hostdev> PCI backend is not set in the XML, the supported
one is then chosen in qemuHostdevPreparePCIDevicesCheckSupport().
But this function is not called anywhere from
qemuConnectDomainXMLToNative(). But qemuDomainPrepareHostdev()
is. And it is also called from domain startup/hotplug code.
Therefore, move the backend setting to the common path and drop
qemuHostdevPreparePCIDevicesCheckSupport().

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2023-04-25 12:36:30 +02:00
..
libvirt_qemu_probes.d
libvirtd_qemu.aug qemu_conf: Introduce a knob to set SCHED_CORE 2022-10-20 08:58:10 +02:00
meson.build qemu: hook up passt config to qemu domains 2023-01-10 01:19:25 -05:00
postcopy-migration.sysctl qemu: Ignore missing vm.unprivileged_userfaultfd sysctl 2022-02-09 13:03:33 +01:00
qemu_agent.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_agent.h qemu_agent: Drop @singleSync from _qemuAgent 2022-11-08 12:10:50 +01:00
qemu_alias.c qemuAssignDeviceChrAlias: Fix a crasher during <console/> hotplug 2023-04-18 16:02:35 +02:00
qemu_alias.h qemu: add support for multiple secret aliases 2023-03-16 15:19:35 +01:00
qemu_backup.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_backup.h qemu: remove unused driver and all its propagations 2022-08-10 16:50:07 +02:00
qemu_block.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_block.h qemu: add multi-secret support in qemuBlockStorageSourceAttachData 2023-03-16 15:19:36 +01:00
qemu_blockjob.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +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: Change default machine type for RISC-V 2023-04-18 08:55:25 -06:00
qemu_capabilities.h qemu: capabilities: Retire obsolete 'pseries' capabilities 2023-04-03 09:19:07 +02:00
qemu_capspriv.h qemu: capabilities: Fix testing of 'TCG' capabilities probing 2023-04-03 09:19:06 +02:00
qemu_cgroup.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_cgroup.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_checkpoint.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_checkpoint.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_command.c qemu: allow forcing emulated maxphysaddr 2023-04-25 11:19:37 +02:00
qemu_command.h qemuBuildThreadContextProps: Prune .node-affinity wrt <emulatorpin/> 2023-03-15 12:46:55 +01:00
qemu_conf.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_conf.h qemu: add passtStateDir to qemu driver config 2023-01-09 14:24:27 -05:00
qemu_dbus.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_dbus.h
qemu_domain_address.c Move default Input bus logic to PostParse handling 2023-04-24 15:23:50 +02:00
qemu_domain_address.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_domain.c qemu: Move <hostdev/> PCI backend setting into qemuDomainPrepareHostdev() 2023-04-25 12:36:30 +02:00
qemu_domain.h qemu_domain: Drop ATTRIBUTE_NONNULL() for non-existent arguments 2023-03-22 15:53:33 +01:00
qemu_domainjob.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +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: Move qemuDomainUpdateDeviceLive() into qemu_hotplug.c 2023-04-25 08:46:27 +02:00
qemu_driver.h
qemu_extdevice.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02: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: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_firmware.h qemu: Move firmware selection from startup to postparse 2023-03-03 13:49:56 +01:00
qemu_hostdev.c qemu: Move <hostdev/> PCI backend setting into qemuDomainPrepareHostdev() 2023-04-25 12:36:30 +02:00
qemu_hostdev.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_hotplug.c qemu: Move <hostdev/> PCI backend setting into qemuDomainPrepareHostdev() 2023-04-25 12:36:30 +02:00
qemu_hotplug.h qemu_hotplug.h: Expose less functions 2023-04-25 08:46:27 +02:00
qemu_interface.c conf: Introduce igb model for <interface> 2023-04-13 09:28:47 +02:00
qemu_interface.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02: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_migration_cookie.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_migration_cookie.h qemu: Reindent qemuMigrationCookieParse prototype arguments 2022-12-01 11:01:58 +01:00
qemu_migration_params.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_migration_params.h qemu: migration: Use 'unsigned int' for flags 2022-12-02 16:18:37 +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 qemu/qemu_migration: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_migration.h qemuMigrationSrcIsAllowed: Remove unused 'driver' argument 2023-01-06 15:30:09 +01:00
qemu_monitor_json.c qemu: Fix incorrect command name in error messages 2023-04-14 10:38:47 +02:00
qemu_monitor_json.h qemu_monitor_json: allow configuring autofinalize for block commit 2023-01-09 13:32:44 +01:00
qemu_monitor_priv.h qemu: monitor: Store whether 'query-named-block-nodes' supports 'flat' parameter 2022-11-09 14:08:31 +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: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_monitor.h qemu: capabilities: Extract whether machine type supports ACPI 2023-03-06 13:24:53 +01:00
qemu_namespace.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_namespace.h qemu_namespace: Introduce qemuDomainNamespaceSetupPath() 2022-09-23 16:33:09 +02:00
qemu_passt.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_passt.h qemu: hook up passt config to qemu domains 2023-01-10 01:19:25 -05:00
qemu_process.c qemuProcessRefreshDisks: Extract update of a single disk 2023-04-24 12:57:56 +02:00
qemu_process.h qemuProcessRefreshDisks: Extract update of a single disk 2023-04-24 12:57:56 +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 qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_saveimage.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_security.c security: make it possible to set SELinux label of child process from its binary 2023-03-10 14:09:29 -05:00
qemu_security.h security: make it possible to set SELinux label of child process from its binary 2023-03-10 14:09:29 -05: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: Allow inactive internal snapshots with uefi 2023-04-11 10:09:05 +02: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: Update format strings in translated messages 2023-04-01 11:40:34 +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: allow forcing emulated maxphysaddr 2023-04-25 11:19:37 +02: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: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_virtiofs.h qemu: virtiofs: open a separate connection to virtlogd 2021-10-12 14:12:11 +02:00
qemu.conf.in Fix spelling 2022-11-11 16:48:48 +01:00
test_libvirtd_qemu.aug.in qemu_conf: Introduce a knob to set SCHED_CORE 2022-10-20 08:58:10 +02:00
virtqemud.init.in
virtqemud.service.in services: Weaken systemd dependency on virtlockd 2023-01-18 11:06:13 -07:00