libvirt/src/qemu
Michal Privoznik b407897ea9 qemu_shim: Require absolute path for root directory
The virConnectOpen(), well virConnectOpenInternal() reports an
error if embed root is not an absolute path. This is a fair
requirement, but our qemu_shim doesn't check this requirement and
passes the path to mkdir(), only to fail later on, leaving the
empty directory behind:

  $ ls -d asd
  ls: cannot access 'asd': No such file or directory

  $ virt-qemu-run -r asd whatever.xml
  virt-qemu-run: cannot open qemu:///embed?root=asd: unsupported configuration: root path must be absolute

  $ ls -d asd
  asd

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
2023-03-22 15:53:33 +01: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_agent.c qemu: agent: Make fetching of 'can-offline' member from 'guest-query-vcpus' optional 2023-03-02 09:23:33 +01:00
qemu_agent.h qemu_agent: Drop @singleSync from _qemuAgent 2022-11-08 12:10:50 +01:00
qemu_alias.c qemu: use correct formatting string for size_t 2023-03-17 15:36:48 +01:00
qemu_alias.h qemu: add support for multiple secret aliases 2023-03-16 15:19:35 +01:00
qemu_backup.c qemu_blockjob: process QEMU_MONITOR_JOB_STATUS_PENDING signal 2023-01-09 13:32:48 +01:00
qemu_backup.h qemu: remove unused driver and all its propagations 2022-08-10 16:50:07 +02:00
qemu_block.c qemu: add luks-any encryption support for RBD images 2023-03-16 15:19:36 +01:00
qemu_block.h qemu: add multi-secret support in qemuBlockStorageSourceAttachData 2023-03-16 15:19:36 +01:00
qemu_blockjob.c qemu: add multi-secret support in qemuBlockStorageSourceAttachData 2023-03-16 15:19:36 +01: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: capabilities: Introduce QEMU_CAPS_RBD_ENCRYPTION_LUKS_ANY capability 2023-03-16 15:19:36 +01:00
qemu_capabilities.h qemu: capabilities: Introduce QEMU_CAPS_RBD_ENCRYPTION_LUKS_ANY capability 2023-03-16 15:19:36 +01:00
qemu_capspriv.h qemu: capabilities: Remove unused virQEMUCapsInitQMPBasicArch 2023-03-07 12:26:33 +01:00
qemu_cgroup.c qemu: Implement 'blob' support for virtio gpu 2023-03-08 13:05:05 -06:00
qemu_cgroup.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_checkpoint.c qemu: use virDomainObjEndJob() 2022-09-07 12:14:07 +02:00
qemu_checkpoint.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_command.c qemu: add multi-secret support in _qemuDomainStorageSourcePrivate 2023-03-16 15:19:36 +01:00
qemu_command.h qemuBuildThreadContextProps: Prune .node-affinity wrt <emulatorpin/> 2023-03-15 12:46:55 +01:00
qemu_conf.c qemu: Remove duplicate user/group lookup 2023-03-03 13:52:37 +01:00
qemu_conf.h qemu: add passtStateDir to qemu driver config 2023-01-09 14:24:27 -05:00
qemu_dbus.c security: make it possible to set SELinux label of child process from its binary 2023-03-10 14:09:29 -05:00
qemu_dbus.h
qemu_domain_address.c qemu: assign PCI address to device pvpanic-pci 2023-02-21 17:51:26 +01:00
qemu_domain_address.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_domain.c qemu: Move validation check out of postparse 2023-03-22 13:49:53 +01: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: Remember failed post-copy migration in job 2023-01-06 16:17:38 +01:00
qemu_domainjob.h qemu & conf: move BeginNestedJob & BeginJobNowait into src/conf 2022-09-07 12:15:28 +02:00
qemu_driver.c src: unify symlink creation error message 2023-03-20 14:32:40 +01:00
qemu_driver.h
qemu_extdevice.c qemu_extdevice: Add a comment into qemuExtDevicesSetupCgroup() 2023-02-16 10:50:39 +01:00
qemu_extdevice.h qemu_extdevice: Expose qemuExtDevicesInitPaths() 2022-12-05 14:25:15 +01:00
qemu_fd.c Fix some typos 2023-03-09 14:09:16 +01: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: Automatically add firmware type/features information 2023-03-22 13:49:53 +01:00
qemu_firmware.h qemu: Move firmware selection from startup to postparse 2023-03-03 13:49:56 +01: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: add support for multiple secret aliases 2023-03-16 15:19:35 +01:00
qemu_hotplug.h qemu: remove unused driver and all its propagations 2022-08-10 16:50:07 +02:00
qemu_interface.c qemu: Don't remove macvtaps on failed start 2023-02-01 15:44:26 +01: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 conf: cpu: Remove NULL check from virCPUDefCopy 2023-03-06 20:55:50 +01:00
qemu_migration_cookie.h qemu: Reindent qemuMigrationCookieParse prototype arguments 2022-12-01 11:01:58 +01:00
qemu_migration_params.c qemu: add support for multiple secret aliases 2023-03-16 15:19:35 +01: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_migration: Use VIR_DOMAIN_PAUSED_API_ERROR 2023-03-15 10:52:14 +01:00
qemu_migration.h qemuMigrationSrcIsAllowed: Remove unused 'driver' argument 2023-01-06 15:30:09 +01:00
qemu_monitor_json.c conf: use enum variable for video type 2023-03-08 13:05:05 -06: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: monitor: Remove unused qemuMonitorAddDrive/qemuMonitorDriveDel 2022-08-11 15:23:21 +02:00
qemu_monitor_text.h qemu: monitor: Remove unused qemuMonitorAddDrive/qemuMonitorDriveDel 2022-08-11 15:23:21 +02:00
qemu_monitor.c qemu: respond to NETDEV_STREAM_DISCONNECTED event 2023-02-22 08:36:13 -05:00
qemu_monitor.h qemu: capabilities: Extract whether machine type supports ACPI 2023-03-06 13:24:53 +01:00
qemu_namespace.c Unify error message when namespaces are unsupported 2023-03-20 14:32:40 +01:00
qemu_namespace.h qemu_namespace: Introduce qemuDomainNamespaceSetupPath() 2022-09-23 16:33:09 +02:00
qemu_passt.c qemu: set SELinux label of passt process to its own binary's label 2023-03-10 14:09:36 -05:00
qemu_passt.h qemu: hook up passt config to qemu domains 2023-01-10 01:19:25 -05:00
qemu_process.c qemu: Move cpuset preference evaluation into a separate function 2023-03-15 12:46:40 +01:00
qemu_process.h qemu: Use new connection close callbacks API 2023-01-06 15:30:09 +01: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
qemu_saveimage.c qemu: Refresh state after restore from a save image 2022-10-20 08:48:14 +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 security: make it possible to set SELinux label of child process from its binary 2023-03-10 14:09:29 -05:00
qemu_slirp.h qemu: slirp: Remove unused 'qemuSlirpGetFD' 2022-05-16 09:15:46 +02:00
qemu_snapshot.c Introduce VIR_DOMAIN_PAUSED_API_ERROR 2023-03-15 10:52:14 +01: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 security: make it possible to set SELinux label of child process from its binary 2023-03-10 14:09:29 -05: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: Move validation check out of postparse 2023-03-22 13:49:53 +01:00
qemu_validate.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_vhost_user_gpu.c security: make it possible to set SELinux label of child process from its binary 2023-03-10 14:09:29 -05: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: Enable SCHED_CORE for helper processes 2022-10-20 09:00:02 +02:00
qemu_virtiofs.h
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