libvirt/src/qemu
Andrea Bolognani 454219ad6c security: Allow skipping locking when labeling lock files
This is needed when migrating a guest that has persistent TPM
state: relabeling (which implies locking) needs to happen
before the swtpm process is started on the destination host,
but the lock file won't be released by the swtpm process
running on the source host before a handshake with the target
process has happened, creating a catch-22 scenario.

In order to make migration possible, make it so that locking
for lock files can be explicitly skipped. All other state
files are handled as usual.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2024-10-03 13:29:59 +02: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: Introduce shared_filesystems configuration option 2024-10-03 13:29:25 +02:00
meson.build qemu: Introduce unified chardev backend config generator 2024-09-19 10:30:14 +02: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: Build cmd line for pstore device 2024-07-25 16:04:50 +02:00
qemu_alias.h qemu: add support for multiple secret aliases 2023-03-16 15:19:35 +01:00
qemu_backup.c qemuBackupDiskDataCleanupOne: Don't skip rest of cleanup if we can't enter monitor 2024-09-06 18:14:34 +02:00
qemu_backup.h qemuBlockJobProcessEventConcludedBackup: Handle potentially NULL 'job->disk' 2024-06-20 09:52:54 +02:00
qemu_block.c qemu: Use the new chardev backend JSON props generator also in the monitor 2024-09-19 10:30:15 +02:00
qemu_block.h qemuBlockStorageSourceNeedsFormatLayer: Stop formatting 'raw' driver when not needed 2024-02-02 16:03:08 +01:00
qemu_blockjob.c qemu: blockjob: Clean out disk mirror data after concluding the job 2024-10-01 12:54:40 +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: Expose availability of PS/2 feature in domcaps 2024-08-29 09:44:53 +02:00
qemu_capabilities.h qemu: capabilities: Explain that QEMU_CAPS_CHARDEV_JSON will be used in tests only 2024-09-19 10:30:14 +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_chardev.c qemu: Introduce unified chardev backend config generator 2024-09-19 10:30:14 +02:00
qemu_chardev.h qemu: Introduce unified chardev backend config generator 2024-09-19 10:30:14 +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_command.c qemu: Rename memory path functions 2024-09-24 10:12:08 +02:00
qemu_command.h qemu: Implement support for hotplugging evdev input devices 2024-05-16 14:56:59 +02:00
qemu_conf.c qemu: Introduce shared_filesystems configuration option 2024-10-03 13:29:25 +02:00
qemu_conf.h qemu: Introduce shared_filesystems configuration option 2024-10-03 13:29:25 +02: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 pstore device 2024-07-25 16:04:50 +02:00
qemu_domain_address.h qemu: Move qemuDomainGetSCSIControllerModel() 2024-01-30 10:58:13 +01:00
qemu_domain.c qemu: Propagate shared_filesystems 2024-10-03 13:29:26 +02:00
qemu_domain.h qemu: Rename memory path functions 2024-09-24 10:12:08 +02:00
qemu_domainjob.c Include support for Vfio stats during Migration 2024-07-10 12:28:55 +02:00
qemu_domainjob.h
qemu_driver.c qemu: Introduce and wire in 'VIR_MIGRATE_PARAM_MIGRATE_DISKS_DETECT_ZEROES' 2024-10-01 12:57:02 +02:00
qemu_driver.h
qemu_extdevice.c qemu: Propagate shared_filesystems 2024-10-03 13:29:26 +02: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 lib: Use NULLSTR family of macros more 2024-08-19 13:44:12 +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: fix regression in update-device for interfaces 2024-10-01 10:25:12 +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-08-26 16:10:04 +02:00
qemu_interface.h hypervisor: Move domain interface mgmt methods 2024-08-26 16:10:04 +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_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: fix switchover-ack regression for old qemu 2024-06-28 08:50:12 +02:00
qemu_migration_params.h qemu: add support for qemu switchover-ack 2024-06-25 09:51:00 +02:00
qemu_migration_paramspriv.h
qemu_migration.c qemu: migration: Don't remember seclabel for images shared from current host 2024-10-03 13:29:26 +02:00
qemu_migration.h qemu: Introduce and wire in 'VIR_MIGRATE_PARAM_MIGRATE_DISKS_DETECT_ZEROES' 2024-10-01 12:57:02 +02:00
qemu_monitor_json.c qemu: monitor: Remove the old chardev backend generator 2024-09-19 10:30:15 +02:00
qemu_monitor_json.h qemu: Use the new chardev backend JSON props generator also in the monitor 2024-09-19 10:30:15 +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: Use the new chardev backend JSON props generator also in the monitor 2024-09-19 10:30:15 +02:00
qemu_monitor.h qemu: Use the new chardev backend JSON props generator also in the monitor 2024-09-19 10:30:15 +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 qemu: Rename memory path functions 2024-09-24 10:12:08 +02:00
qemu_process.h qemu: Change parameters of qemuGetMemoryBackingDomainPath() 2024-09-24 10:12:08 +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 security: Allow skipping locking when labeling lock files 2024-10-03 13:29:59 +02:00
qemu_security.h security_manager: Ensure top lock is acquired before nested locks 2024-07-09 13:22:26 +02: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: Always set labels for TPM state 2024-10-03 13:29:26 +02:00
qemu_tpm.h qemu: Propagate shared_filesystems 2024-10-03 13:29:26 +02:00
qemu_validate.c qemu: Reject unsupported chardev backend protocols 2024-09-19 10:30:15 +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: fill capabilities for virtiofsd 2024-07-10 12:32:23 +02:00
qemu_vhost_user.h qemu: fill capabilities for virtiofsd 2024-07-10 12:32:23 +02:00
qemu_virtiofs.c qemu: virtiofs: cache: use 'never' instead of 'none' 2024-07-25 13:41:46 +02:00
qemu_virtiofs.h
qemu.conf.in qemu: Introduce shared_filesystems configuration option 2024-10-03 13:29:25 +02:00
test_libvirtd_qemu.aug.in qemu: Introduce shared_filesystems configuration option 2024-10-03 13:29:25 +02: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