libvirt/src/qemu
Cole Robinson accdc0e773 qemu: migration: don't open storage driver too early
If storage migration is requested, and the destination storage does
not exist on the remote host, qemu's migration support will call
into the libvirt storage driver to precreate the destination storage.

The storage driver virConnectPtr is opened too early though, adding
an unnecessary dependency on the storage driver for several cases
that don't require it. This currently requires kubevirt to install
the storage driver even though they aren't actually using it.

Push the virGetConnectStorage calls to right before the cases they are
actually needed.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2020-10-12 16:18:49 -04: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: Add configuration of TLS environment for NBD transport of pull-backups 2020-07-07 12:58:19 +02:00
meson.build qemu: Extract snapshot related code to a separate file 2020-08-24 16:42:29 +02:00
MIGRATION.txt
qemu_agent.c qemu: agent: split out qemuAgentGetAllInterfaceAddresses 2020-10-08 11:16:08 +02:00
qemu_agent.h
qemu_alias.c conf, qemu, security, tests: introducing 'def->tpms' array 2020-06-23 17:27:50 +02:00
qemu_alias.h
qemu_backup.c qemu: backup: Write TLS cert and secret object aliases into status XML 2020-09-15 15:25:22 +02:00
qemu_backup.h qemu: backup: Rewrite backup bitmap handling to the new bitmap semantics 2020-06-22 16:04:30 +02:00
qemu_block.c qemu: use g_new0 2020-10-05 16:44:06 +02:00
qemu_block.h qemuBlockStorageSourceAttachData: remove 'storageNodeNameCopy' 2020-09-15 15:20:23 +02:00
qemu_blockjob.c qemu: blockjob: Actually delete temporary bitmap on failed active commit 2020-07-21 09:52:59 +02:00
qemu_blockjob.h qemu: blockjob: Remove 'disabledBitmapsBase' field from commit job private data 2020-06-22 16:04:31 +02:00
qemu_capabilities.c qemu: Remove references to "cpu_map.xml" in the code 2020-10-09 15:38:05 +02:00
qemu_capabilities.h virQEMUCapsFlagsString: Remove unused function 2020-10-05 12:26:22 +02:00
qemu_capspriv.h qemu: Track default-ram-id machine attribute 2020-10-01 12:04:48 +02:00
qemu_cgroup.c qemu: use g_autoptr for virCgroup 2020-10-09 16:24:44 +02:00
qemu_cgroup.h
qemu_checkpoint.c qemu: checkpoint: Implement VIR_DOMAIN_CHECKPOINT_XML_SIZE 2020-07-07 12:58:19 +02:00
qemu_checkpoint.h qemu: checkpoint: Don't merge checkpoints during deletion 2020-06-22 16:04:30 +02:00
qemu_command.c qemu: Don't generate '-machine memory-backend' and '-numa memdev' 2020-10-08 12:55:10 +02:00
qemu_command.h qemuBuildMemoryBackendProps: Fix const correctness 2020-10-01 12:03:57 +02:00
qemu_conf.c qemu: use g_new0 2020-10-05 16:44:06 +02:00
qemu_conf.h lib: Prefer g_autoptr() declaration of virQEMUDriverConfigPtr 2020-09-07 10:47:54 +02:00
qemu_dbus.c qemu: pre-create the dbus directory in qemuStateInitialize 2020-07-22 09:40:15 +02:00
qemu_dbus.h qemu: pre-create the dbus directory in qemuStateInitialize 2020-07-22 09:40:15 +02:00
qemu_domain_address.c qemu: use g_new0 2020-10-05 16:44:06 +02:00
qemu_domain_address.h
qemu_domain.c util: vircgroup: change virCgroupFree to take only virCgroupPtr 2020-10-09 16:24:35 +02:00
qemu_domain.h qemu: Taint cpu host-passthrough only after migration 2020-10-05 10:08:26 -04: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: use g_autoptr for virCgroup 2020-10-09 16:24:44 +02:00
qemu_driver.h
qemu_extdevice.c conf, qemu, security, tests: introducing 'def->tpms' array 2020-06-23 17:27:50 +02:00
qemu_extdevice.h
qemu_firmware.c qemu: firmware: use g_new0 2020-10-05 16:44:06 +02:00
qemu_firmware.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
qemu_hostdev.c lib: Prefer g_autoptr() declaration of virQEMUDriverConfigPtr 2020-09-07 10:47:54 +02:00
qemu_hostdev.h
qemu_hotplug.c Fix incorrect g_new0 conversions 2020-10-06 14:26:43 +02: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 lib: Prefer g_autoptr() declaration of virQEMUDriverConfigPtr 2020-09-07 10:47:54 +02:00
qemu_interface.h src: add G_GNUC_NO_INLINE annotations for mocked symbols 2020-08-04 17:58:08 +01:00
qemu_interop_config.c
qemu_interop_config.h
qemu_migration_cookie.c cpu: Wire in XML validation 2020-10-07 11:26:27 +02:00
qemu_migration_cookie.h qemu: migration: Rename qemuMigrationEatCookie to qemuMigrationCookieParse 2020-10-01 10:01:05 +02: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: migration: don't open storage driver too early 2020-10-12 16:18:49 -04:00
qemu_migration.h qemu: Allow NBD migration over UNIX socket 2020-09-04 10:20:49 +02:00
qemu_monitor_json.c qemu: monitor: json: use g_new0 2020-10-05 16:44:06 +02:00
qemu_monitor_json.h src: add G_GNUC_NO_INLINE annotations for mocked symbols 2020-08-04 17:58:08 +01:00
qemu_monitor_priv.h
qemu_monitor_text.c
qemu_monitor_text.h
qemu_monitor.c qemu: use g_new0 2020-10-05 16:44:06 +02:00
qemu_monitor.h qemu: Track default-ram-id machine attribute 2020-10-01 12:04:48 +02:00
qemu_namespace.c qemu: use g_new0 2020-10-05 16:44:06 +02:00
qemu_namespace.h qemuDomainBuildNamespace: Populate basic /dev from daemon's namespace 2020-08-03 19:40:36 +02:00
qemu_process.c util: vircgroup: change virCgroupFree to take only virCgroupPtr 2020-10-09 16:24:35 +02:00
qemu_process.h src: add G_GNUC_NO_INLINE annotations for mocked symbols 2020-08-04 17:58:08 +01:00
qemu_processpriv.h
qemu_qapi.c src: fix misc spelling errors reported by codespell 2020-10-05 10:28:41 +01:00
qemu_qapi.h
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_security: Complete renaming of virSecurityManagerSetAllLabel() argument 2020-07-10 14:21:35 +02:00
qemu_shim.c qemu: remove use of gettid() syscall 2020-08-07 13:51:16 +01:00
qemu_slirp.c virBitmapNew: Don't check return value 2020-10-05 15:38:47 +02:00
qemu_slirp.h
qemu_snapshot.c virBitmapNew: Don't check return value 2020-10-05 15:38:47 +02: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, qemu, security, tests: introducing 'def->tpms' array 2020-06-23 17:27:50 +02:00
qemu_tpm.h
qemu_validate.c qemu: validate: Allow <transient/> disks 2020-10-01 09:55:02 +02:00
qemu_validate.h qemu: validate: Validate blkdeviotune settings in the validator 2020-05-12 06:54:59 +02:00
qemu_vhost_user_gpu.c
qemu_vhost_user_gpu.h
qemu_vhost_user.c qemu: use g_new0 2020-10-05 16:44:06 +02:00
qemu_vhost_user.h
qemu_virtiofs.c
qemu_virtiofs.h
qemu.conf qemu.conf: Re-word the description for *_tls_x509_verify 2020-10-09 10:18:45 +02:00
test_libvirtd_qemu.aug.in qemu: conf: Add configuration of TLS environment for NBD transport of pull-backups 2020-07-07 12:58:19 +02:00
THREADS.txt
virtqemud.init.in
virtqemud.service.in
virtqemud.sysconf