Daniel P. Berrangé
068efae5b1
qemu: add support for running QEMU driver in embedded mode
...
This enables support for running QEMU embedded to the calling
application process using a URI:
qemu:///embed?root=/some/path
Note that it is important to keep the path reasonably short to
avoid risk of hitting the limit on UNIX socket path names
which is 108 characters.
When using the embedded mode with a root=/var/tmp/embed, the
driver will use the following paths:
logDir: /var/tmp/embed/log/qemu
swtpmLogDir: /var/tmp/embed/log/swtpm
configBaseDir: /var/tmp/embed/etc/qemu
stateDir: /var/tmp/embed/run/qemu
swtpmStateDir: /var/tmp/embed/run/swtpm
cacheDir: /var/tmp/embed/cache/qemu
libDir: /var/tmp/embed/lib/qemu
swtpmStorageDir: /var/tmp/embed/lib/swtpm
defaultTLSx509certdir: /var/tmp/embed/etc/pki/qemu
These are identical whether the embedded driver is privileged
or unprivileged.
This compares with the system instance which uses
logDir: /var/log/libvirt/qemu
swtpmLogDir: /var/log/swtpm/libvirt/qemu
configBaseDir: /etc/libvirt/qemu
stateDir: /run/libvirt/qemu
swtpmStateDir: /run/libvirt/qemu/swtpm
cacheDir: /var/cache/libvirt/qemu
libDir: /var/lib/libvirt/qemu
swtpmStorageDir: /var/lib/libvirt/swtpm
defaultTLSx509certdir: /etc/pki/qemu
At this time all features present in the QEMU driver are available when
running in embedded mode, availability matching whether the embedded
driver is privileged or unprivileged.
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-01-27 11:04:03 +00:00
..
2019-12-03 13:57:44 +00:00
2019-07-29 16:27:05 +02:00
2020-01-16 15:11:42 +00:00
2020-01-24 13:40:48 +01:00
2020-01-24 13:40:48 +01:00
2020-01-24 17:03:35 +01:00
2019-12-03 13:57:44 +00:00
2019-12-13 15:55:43 +00:00
2019-12-13 17:52:10 +00:00
2019-10-10 21:02:03 -06:00
2019-07-17 17:18:56 -04:00
2019-10-18 18:49:54 +01:00
2019-07-17 17:18:56 -04:00
2019-07-17 17:18:56 -04:00
2019-08-09 12:17:19 +02:00
2019-12-03 13:57:44 +00:00
2019-12-13 13:22:55 +01:00
2020-01-24 17:03:21 +01:00
2019-11-13 08:16:04 +01:00
2019-07-26 16:48:58 -05:00
2019-12-03 13:57:44 +00:00
2019-07-08 16:10:22 -05:00
2019-12-03 13:57:44 +00:00
2020-01-16 15:11:42 +00:00
2019-09-09 16:44:24 +02:00
2020-01-23 12:57:03 +01:00
2019-07-18 17:59:33 +02:00
2020-01-06 10:15:36 +01:00
2019-09-24 13:19:08 -04:00
2020-01-24 17:03:35 +01:00
2020-01-24 17:03:35 +01:00
2019-07-26 09:59:27 +01:00
2019-12-20 14:31:08 +01:00
2019-06-25 17:11:56 +02:00
2019-06-25 17:11:56 +02:00
2019-06-03 17:59:38 +02:00
2020-01-16 15:11:55 +00:00
2019-11-15 12:58:43 +01:00
2020-01-03 15:42:13 +00:00
2019-07-19 10:52:06 +02:00
2020-01-16 15:11:55 +00:00
2019-04-03 14:44:32 +02:00
2019-07-12 16:55:39 +01:00
2019-07-16 13:42:39 +02:00
2019-06-17 15:19:54 +01:00
2019-12-17 10:04:43 +01:00
2020-01-16 15:11:42 +00:00
2019-10-10 21:02:09 -06:00
2019-04-16 13:11:08 -04:00
2019-04-15 20:03:55 -04:00
2020-01-09 18:05:17 +00:00
2019-12-09 10:17:27 +00:00
2019-11-25 15:29:56 -05:00
2019-12-09 10:17:27 +00:00
2019-11-12 16:15:59 +01:00
2020-01-17 09:59:08 +00:00
2020-01-17 09:59:08 +00:00
2019-12-13 14:57:32 +01:00
2020-01-27 11:04:03 +00:00
2019-12-09 10:17:27 +00:00
2019-10-15 16:14:19 +02:00
2020-01-03 15:42:13 +00:00
2019-11-12 16:15:59 +01:00
2019-11-14 19:02:31 +01:00
2019-12-20 14:23:39 +00:00
2019-12-13 15:55:43 +00:00
2019-11-12 16:15:59 +01:00
2019-11-15 15:07:40 +01:00
2020-01-03 15:42:12 +00:00
2019-12-09 10:17:27 +00:00
2020-01-03 15:42:12 +00:00
2019-12-20 14:23:39 +00:00
2019-11-12 16:15:59 +01:00
2019-11-19 15:22:43 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-10-15 11:25:25 +02:00
2019-11-12 16:15:59 +01:00
2019-11-19 15:22:43 +01:00
2019-11-19 15:22:43 +01:00
2019-11-19 15:22:43 +01:00
2019-11-12 16:15:59 +01:00
2019-10-15 11:25:25 +02:00
2019-12-09 14:46:13 +00:00
2020-01-16 16:35:47 +01:00
2020-01-13 12:53:58 +01:00
2019-12-23 16:39:38 +00:00
2019-12-13 14:57:32 +01:00
2020-01-10 10:45:34 +00:00
2019-12-13 14:57:32 +01:00
2019-10-15 11:25:25 +02:00
2020-01-03 15:42:12 +00:00
2020-01-03 15:42:12 +00:00
2020-01-03 15:42:12 +00:00
2019-11-13 15:03:40 -05:00
2020-01-22 10:51:52 +02:00
2020-01-03 15:42:12 +00:00
2019-12-13 14:57:32 +01:00
2019-12-13 14:57:32 +01:00
2020-01-07 16:40:41 +01:00
2019-10-16 12:06:44 +02:00
2019-11-12 16:15:59 +01:00
2020-01-03 15:42:12 +00:00
2019-07-03 08:36:04 +02:00
2020-01-03 15:42:12 +00:00
2020-01-17 10:02:01 +00:00
2020-01-24 17:03:35 +01:00
2020-01-24 17:03:35 +01:00
2019-11-14 19:02:31 +01:00
2019-10-14 10:54:42 +01:00
2019-11-12 16:15:59 +01:00
2020-01-03 15:42:12 +00:00
2019-12-17 10:03:35 +01:00
2019-10-21 12:51:59 +02:00
2019-10-15 11:25:25 +02:00
2019-10-15 11:25:25 +02:00
2019-08-23 11:26:26 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-10-07 11:34:24 +01:00
2020-01-10 10:45:34 +00:00
2020-01-10 10:45:34 +00:00
2019-10-15 16:14:19 +02:00
2019-12-09 10:15:16 +00:00
2019-12-09 10:15:16 +00:00
2020-01-27 11:04:03 +00:00
2019-12-09 10:17:27 +00:00
2019-10-24 19:35:34 +02:00
2019-06-19 17:12:34 +02:00
2019-12-18 14:28:48 +01:00
2019-12-09 10:15:16 +00:00
2019-10-15 16:14:19 +02:00
2019-11-14 17:45:40 +01:00
2019-10-21 12:51:59 +02:00
2020-01-17 10:02:00 +00:00
2019-11-19 15:22:43 +01:00
2019-11-06 11:27:12 -05:00
2020-01-15 17:10:20 +01:00
2020-01-16 15:11:55 +00:00
2019-12-09 10:17:27 +00:00
2019-11-19 15:22:43 +01:00
2020-01-03 15:42:12 +00:00
2019-11-12 16:15:59 +01:00
2019-08-23 11:26:26 +01:00
2019-10-15 11:25:25 +02:00
2019-10-15 11:25:25 +02:00
2019-10-11 12:20:08 -04:00
2019-11-19 15:22:43 +01:00
2019-10-15 11:25:25 +02:00
2019-10-15 11:25:25 +02:00
2019-10-21 12:51:59 +02:00
2020-01-03 15:42:13 +00:00
2020-01-03 15:42:12 +00:00
2019-11-12 16:15:59 +01:00
2019-06-19 17:12:34 +02:00
2019-10-24 19:35:34 +02:00
2019-06-19 17:12:34 +02:00
2020-01-24 13:45:38 +01:00
2020-01-16 15:11:55 +00:00
2020-01-07 16:40:41 +01:00
2019-10-15 11:25:25 +02:00
2019-10-21 12:51:55 +02:00
2019-11-12 16:15:59 +01:00
2019-11-19 15:22:43 +01:00
2019-10-15 11:25:25 +02:00
2019-10-24 19:35:34 +02:00
2019-10-15 11:25:25 +02:00
2019-08-27 15:49:48 +02:00
2019-11-19 15:22:43 +01:00
2019-10-15 11:25:25 +02:00
2019-10-16 12:06:43 +02:00
2019-11-12 16:15:59 +01:00
2019-07-09 15:01:54 +02:00
2019-10-24 19:35:34 +02:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-19 15:22:43 +01:00
2019-10-21 12:51:59 +02:00
2019-10-15 11:25:25 +02:00
2019-10-15 11:25:25 +02:00
2019-11-15 15:07:40 +01:00
2020-01-03 15:42:12 +00:00
2019-04-10 12:26:32 +02:00
2019-06-19 17:12:34 +02:00
2020-01-03 15:42:12 +00:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2020-01-03 15:42:13 +00:00
2020-01-03 15:42:12 +00:00
2019-11-19 15:22:43 +01:00
2019-10-15 11:25:25 +02:00
2020-01-03 15:42:12 +00:00
2019-10-15 11:25:25 +02:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-10-15 16:14:19 +02:00
2019-12-10 12:41:56 +01:00
2019-11-14 19:02:31 +01:00
2019-08-02 09:44:41 -05:00
2019-12-03 13:57:44 +00:00
2019-07-29 15:56:46 +02:00
2019-08-02 09:44:41 -05:00
2019-04-04 09:35:40 -05:00
2019-11-12 16:15:59 +01:00
2020-01-17 12:34:10 +01:00
2019-10-16 12:06:43 +02:00
2020-01-17 10:02:01 +00:00
2020-01-17 09:58:43 +00:00
2019-11-21 08:27:03 +01:00
2019-11-12 16:15:59 +01:00
2020-01-17 10:02:01 +00:00
2019-10-15 16:14:19 +02:00
2019-10-24 19:35:34 +02:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-12-09 10:17:27 +00:00
2019-10-15 11:25:25 +02:00
2019-12-09 14:06:15 +01:00
2019-12-09 14:06:15 +01:00
2019-12-09 10:17:27 +00:00