libvirt/src/qemu
Eiichi Tsukata cc6c49f6cd conf: Add support for keeping TPM emulator state
Currently, swtpm TPM state file is removed when a transient domain is
powered off or undefined. When we store TPM state on a shared storage
such as NFS and use transient domain, TPM states should be kept as it is.

Add per-TPM emulator option `persistent_sate` for keeping TPM state.
This option only works for the emulator type backend and looks as follows:

  <tpm model='tpm-tis'>
    <backend type='emulator' persistent_state='yes'/>
  </tpm>

Signed-off-by: Eiichi Tsukata <eiichi.tsukata@nutanix.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2021-01-06 11:44:12 +01:00
..
EVENTHANDLERS.txt
libvirt_qemu_probes.d meson: src: build libvirt_driver_qemu_impl.a static library 2020-08-03 09:27:04 +02:00
libvirtd_qemu.aug qemu: conf: Introduce "migrate_tls_force" qemu.conf option 2020-11-24 17:59:26 +01:00
meson.build meson: drop use of .path() for python args 2020-11-09 16:32:55 +00:00
MIGRATION.txt
qemu_agent.c qemu: Drop has_ccw_address from _qemuAgentDiskAddress 2021-01-04 14:53:08 +01:00
qemu_agent.h qemu: Drop has_ccw_address from _qemuAgentDiskAddress 2021-01-04 14:53:08 +01:00
qemu_alias.c qemu: enable support for ESP SCSI controller family 2020-11-20 12:09:51 +00:00
qemu_alias.h
qemu_backup.c qemu: backup: Properly delete temporary bitmap after push-mode incremental backup 2021-01-06 09:25:12 +01:00
qemu_backup.h util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
qemu_block.c util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
qemu_block.h util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
qemu_blockjob.c util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
qemu_blockjob.h
qemu_capabilities.c lib: Replace VIR_AUTOSTRINGLIST with GStrv 2020-12-02 15:43:07 +01:00
qemu_capabilities.h qemu: add capabilities for the three ESP family SCSI controllers 2020-11-20 12:09:51 +00:00
qemu_capspriv.h qemu: Track default-ram-id machine attribute 2020-10-01 12:04:48 +02:00
qemu_cgroup.c lib: Replace VIR_AUTOSTRINGLIST with GStrv 2020-12-02 15:43:07 +01:00
qemu_cgroup.h
qemu_checkpoint.c virDomainCheckpointRedefineCommit: Don't check ABI of definition in checkpoint 2020-12-04 16:15:03 +01:00
qemu_checkpoint.h qemu: rename: support renaming checkpoints directory 2020-11-13 14:49:50 +03:00
qemu_command.c qemu: Don't prealloc mem for real NVDIMMs 2021-01-05 13:19:22 +01:00
qemu_command.h qemu_command: Move dimm into qemuBuildDeviceAddressStr() 2020-12-04 16:24:19 +01:00
qemu_conf.c qemu: Don't cache NUMA caps 2020-12-07 11:32:40 +01:00
qemu_conf.h qemu: Don't cache NUMA caps 2020-12-07 11:32:40 +01:00
qemu_dbus.c qemu_dbus: use emulator cgroup for dbus-daemon 2020-11-03 21:26:32 +01:00
qemu_dbus.h qemu_dbus: use emulator cgroup for dbus-daemon 2020-11-03 21:26:32 +01:00
qemu_domain_address.c qemu: remove redundant check for file length when determining PCIe vs. PCI 2020-12-12 21:18:46 -05:00
qemu_domain_address.h
qemu_domain.c domain_conf: move net device validation to domain_validate.c 2020-12-14 09:32:31 -03:00
qemu_domain.h qemuDomainGetStorageSourceByDevstr: Lookup also backup 'store' nodenames 2020-12-08 15:12:34 +01:00
qemu_domainjob.c qemuProcessReconnect: clear 'oldjob' 2020-09-14 18:10:56 +02:00
qemu_domainjob.h qemuProcessReconnect: clear 'oldjob' 2020-09-14 18:10:56 +02:00
qemu_driver.c qemu: Fix retval if ACL check fails in qemuNodeGetSecurityModel 2021-01-04 20:18:11 +01:00
qemu_driver.h
qemu_extdevice.c qemu_dbus: use emulator cgroup for dbus-daemon 2020-11-03 21:26:32 +01:00
qemu_extdevice.h
qemu_firmware.c lib: Replace VIR_AUTOSTRINGLIST with GStrv 2020-12-02 15:43:07 +01:00
qemu_firmware.h
qemu_hostdev.c lib: Prefer g_autoptr() declaration of virQEMUDriverConfigPtr 2020-09-07 10:47:54 +02:00
qemu_hostdev.h
qemu_hotplug.c qemu: Properly handle setting of <iotune> for empty cdrom 2021-01-06 09:24:48 +01:00
qemu_hotplug.h src: add G_GNUC_NO_INLINE annotations for mocked symbols 2020-08-04 17:58:08 +01:00
qemu_interface.c qemu: remove redundant code that adds "template" netdev name 2020-12-16 21:31:57 -05:00
qemu_interface.h qemu: honour fatal errors dealing with qemu slirp helper 2020-10-27 12:03:19 +00:00
qemu_interop_config.c util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
qemu_interop_config.h
qemu_migration_cookie.c qemu_migration_cookie: Make cookie parsing robust against missing domain job 2020-11-09 12:25:49 +01:00
qemu_migration_cookie.h qemu_migration_cookie: Export qemuMigrationCookieXMLFormat for tests 2020-11-09 12:25:49 +01:00
qemu_migration_params.c virBitmapNew: Don't check return value 2020-10-05 15:38:47 +02:00
qemu_migration_params.h qemu: Allow migration over UNIX socket 2020-09-05 07:55:45 +02:00
qemu_migration_paramspriv.h
qemu_migration.c qemu: Fix possible segfault when migrating disks 2020-12-16 12:18:58 +01:00
qemu_migration.h qemu: Allow NBD migration over UNIX socket 2020-09-04 10:20:49 +02:00
qemu_monitor_json.c qemuMonitorBlockJobInfo: Store 'ready' and 'ready_present' separately 2020-12-07 10:15:00 +01:00
qemu_monitor_json.h qemu: Pass / fill niothreads for qemuMonitorGetIOThreads 2020-12-03 17:06:07 +01:00
qemu_monitor_priv.h
qemu_monitor_text.c
qemu_monitor_text.h
qemu_monitor.c qemu: monitor: Remove unused qemuMonitorGetBlockJobInfo 2020-12-07 10:15:00 +01:00
qemu_monitor.h qemu: monitor: Remove unused qemuMonitorGetBlockJobInfo 2020-12-07 10:15:00 +01:00
qemu_namespace.c lib: Replace VIR_AUTOSTRINGLIST with GStrv 2020-12-02 15:43:07 +01:00
qemu_namespace.h qemuDomainBuildNamespace: Populate basic /dev from daemon's namespace 2020-08-03 19:40:36 +02:00
qemu_process.c qemu: The TSC tolerance interval should be closed 2021-01-06 11:24:37 +01:00
qemu_process.h qemu: Prepare hostdev data which depends on the host state separately 2020-10-20 15:08:22 +02:00
qemu_processpriv.h
qemu_qapi.c lib: Replace VIR_AUTOSTRINGLIST with GStrv 2020-12-02 15:43:07 +01:00
qemu_qapi.h util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
qemu_saveimage.c qemu: use g_new0 2020-10-05 16:44:06 +02:00
qemu_saveimage.h qemu: Split of code related to handling of the save image file 2020-08-24 16:42:00 +02:00
qemu_security.c qemu: Separate out namespace handling code 2020-08-03 19:32:27 +02:00
qemu_security.h
qemu_shim.c qemu: remove use of gettid() syscall 2020-08-07 13:51:16 +01:00
qemu_slirp.c qemu: remove dead code that setup cgroups for helper processes 2020-11-03 21:26:32 +01:00
qemu_slirp.h
qemu_snapshot.c qemu: snapshot: Write metadata of previously-'current' snapshot on update 2020-11-24 17:59:26 +01:00
qemu_snapshot.h qemu: snapshot: Introduce helpers for creating overlays on <transient/> disks 2020-10-01 09:55:02 +02:00
qemu_tpm.c conf: Add support for keeping TPM emulator state 2021-01-06 11:44:12 +01:00
qemu_tpm.h
qemu_validate.c qemu: Relax validation for mem->access if guest has no NUMA 2020-12-14 14:00:25 +01:00
qemu_validate.h virDomainDefValidate: Add per-run 'opaque' data 2020-12-09 09:33:47 +01:00
qemu_vhost_user_gpu.c
qemu_vhost_user_gpu.h
qemu_vhost_user.c lib: Replace VIR_AUTOSTRINGLIST with GStrv 2020-12-02 15:43:07 +01:00
qemu_vhost_user.h
qemu_virtiofs.c
qemu_virtiofs.h
qemu.conf qemu: conf: Introduce "migrate_tls_force" qemu.conf option 2020-11-24 17:59:26 +01:00
test_libvirtd_qemu.aug.in qemu: conf: Introduce "migrate_tls_force" qemu.conf option 2020-11-24 17:59:26 +01:00
THREADS.txt
virtqemud.init.in
virtqemud.service.in
virtqemud.sysconf