libvirt/src/qemu
Michal Privoznik 2b3e8ddd9d qemu_domain: Move TPM post parse code into qemuDomainTPMDefPostParse()
In the qemuDomainDefPostParse() we aim to fill in top level
values, which require overall view of domain, or those parts of
configuration that are not a device in domain XML (e.g. vCPUs).
However, inside of qemuDomainDefTPMsPostParse(), which is called
from aforementioned function, we do two tings:

  1) fill in missing info (TPM version), and
  2) validate TPM definition.

Now, if 1) is moved into qemuDomainTPMDefPostParse() (the device
post parse callback), then 2) can be moved into validation step.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2022-08-01 17:35:51 +02:00
..
libvirt_qemu_probes.d
libvirtd_qemu.aug qemu: conf: Add 'deprecation_behavior' setting to qemu.conf 2021-04-06 17:07:05 +02:00
meson.build qemu: Use real defaults for user and group in qemu.conf 2022-04-01 15:32:48 +02:00
postcopy-migration.sysctl qemu: Ignore missing vm.unprivileged_userfaultfd sysctl 2022-02-09 13:03:33 +01:00
qemu_agent.c virjson: Change virJSONValueObjectHasKey() signature 2022-08-01 10:24:34 +02:00
qemu_agent.h util: refactor virDomainDeviceCCWAddress into virccw.h 2022-05-23 16:31:40 +02:00
qemu_alias.c qemu: Assign default alias to IOMMU devices 2022-07-22 17:38:08 +02:00
qemu_alias.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_backup.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_backup.h qemu: use generalized virDomainJobData instead of qemuDomainJobInfo 2022-02-15 12:20:45 +01:00
qemu_block.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_block.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_blockjob.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_blockjob.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_capabilities.c qemu: introduce capability QEMU_CAPS_MIGRATION_BLOCKED_REASONS 2022-07-21 00:58:06 -04:00
qemu_capabilities.h qemu: introduce capability QEMU_CAPS_MIGRATION_BLOCKED_REASONS 2022-07-21 00:58:06 -04:00
qemu_capspriv.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
qemu_cgroup.c qemu_cgroup: Don't ignore ENOENT in qemuCgroupAllowDevicesPaths() 2022-08-01 10:36:42 +02:00
qemu_cgroup.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_checkpoint.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_checkpoint.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_command.c conf: Use virXMLPropEnum more when parsing TPM 2022-08-01 17:35:51 +02:00
qemu_command.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
qemu_conf.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_conf.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_dbus.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_dbus.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_domain_address.c qemu_domain_address: Drop needless virDomainIOMMUModel typecast 2022-07-04 13:21:16 +02:00
qemu_domain_address.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_domain.c qemu_domain: Move TPM post parse code into qemuDomainTPMDefPostParse() 2022-08-01 17:35:51 +02:00
qemu_domain.h qemu & hypervisor: move job object into hypervisor 2022-07-20 14:43:14 +02:00
qemu_domainjob.c qemu & hypervisor: move qemuDomainObjInitJob() into hypervisor 2022-07-21 15:02:44 +02:00
qemu_domainjob.h qemu & hypervisor: move qemuDomainObjInitJob() into hypervisor 2022-07-21 15:02:44 +02:00
qemu_driver.c qemu: Properly release job in qemuDomainSaveInternal 2022-07-27 16:22:29 +02:00
qemu_driver.h
qemu_extdevice.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_extdevice.h qemu: Revert "qemuExtDevicesStart: pass logManager" 2021-10-12 14:12:11 +02:00
qemu_fd.c qemu: fd: Fix monitor usage of qemuFDPassDirectGetPath 2022-06-06 09:42:58 +02:00
qemu_fd.h qemuFDPassTransferCommand: Remove return value 2022-05-17 19:31:08 +02:00
qemu_firmware.c qemu: support use of stateless EFI firmware 2022-07-26 15:41:44 +01:00
qemu_firmware.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_hostdev.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_hostdev.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_hotplug.c qemu_hotplug: Create chardev files before attempting to relabel them 2022-07-22 15:14:44 +02:00
qemu_hotplug.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
qemu_interface.c qemu: Remove unused includes 2022-06-16 06:43:57 +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: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_interop_config.h
qemu_migration_cookie.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_migration_cookie.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_migration_params.c qemu_migration_params: Avoid deadlock in qemuMigrationParamsReset 2022-07-29 09:34:53 +02:00
qemu_migration_params.h qemu: Pass migration flags to qemuMigrationParamsApply 2022-07-01 11:28:34 +02: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: don't call qemuMigrationSrcIsAllowedHostdev() from qemuMigrationDstPrepareFresh() 2022-07-28 08:16:29 -04:00
qemu_migration.h qemu_migration: Acquire correct job in qemuMigrationSrcIsAllowed 2022-07-22 12:47:32 +02:00
qemu_monitor_json.c virjson: Change virJSONValueObjectHasKey() signature 2022-08-01 10:24:34 +02:00
qemu_monitor_json.h qemu: new function to retrieve migration blocker reasons from QEMU 2022-07-21 00:58:06 -04:00
qemu_monitor_priv.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
qemu_monitor_text.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_monitor_text.h qemu_monitor: remove unused load snapshot code 2021-11-23 16:03:07 +01:00
qemu_monitor.c qemu: monitor: Split up enum strings definitions 2022-07-25 16:47:05 +02:00
qemu_monitor.h qemu: new function to retrieve migration blocker reasons from QEMU 2022-07-21 00:58:06 -04:00
qemu_namespace.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_namespace.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_process.c qemu: Restore original memory locking limit on reconnect 2022-07-28 13:04:45 +02:00
qemu_process.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +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: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_qapi.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_saveimage.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_saveimage.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_security.c qemu_security: Drop qemuSecurityStartVhostUserGPU() 2022-05-09 16:17:00 +02:00
qemu_security.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_shim.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_slirp.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_slirp.h qemu: slirp: Remove unused 'qemuSlirpGetFD' 2022-05-16 09:15:46 +02:00
qemu_snapshot.c qemu_migration: Acquire correct job in qemuMigrationSrcIsAllowed 2022-07-22 12:47:32 +02:00
qemu_snapshot.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_tpm.c conf: Move _virDomainTPMDef::version into _virDomainTPMDef::data::emulator 2022-08-01 17:35:51 +02:00
qemu_tpm.h qemu_tpm: Make APIs work over a single virDomainTPMDef 2022-05-24 16:15:29 +02:00
qemu_validate.c conf: Move _virDomainTPMDef::version into _virDomainTPMDef::data::emulator 2022-08-01 17:35:51 +02:00
qemu_validate.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_vhost_user_gpu.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_vhost_user_gpu.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_vhost_user.c qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_vhost_user.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_virtiofs.c qemu: virtiofs: format --thread-pool-size 2022-06-16 14:58:25 +02:00
qemu_virtiofs.h qemu: virtiofs: open a separate connection to virtlogd 2021-10-12 14:12:11 +02:00
qemu.conf.in qemu: Use real defaults for user and group in qemu.conf 2022-04-01 15:32:48 +02:00
test_libvirtd_qemu.aug.in qemu: Use real defaults for user and group in qemu.conf 2022-04-01 15:32:48 +02:00
virtqemud.init.in
virtqemud.service.in systemd: Use correct man page name in modular daemon service files 2022-02-01 13:20:11 +01:00