bugfix patches list: d677de remote: fix driver name check for libxl driver 075641 systemd: start libvirtd after firewalld iptables services 06fc99 qemuDomainCleanupRun: Actually run cleanup callbacks in reverse order 01626c virDevMapperGetTargetsImpl: quit early if device is not a devmapper target 006782 qemu: only stop external devices after the domain 42a415 qemuDomainStorageSourcePrivateDispose: Free httpcookie cc8c29 Don't require secdrivers to implement .domainMoveImageMetadata 0230e3 qemuProcessStop: Use XATTRs to restore seclabels on disks a domain is mirroring into 8fd274 qemuProcessStop: Reattach NVMe disks a domain is mirroring into 55029d security: don't fail if built without attr support a5a297 qemu: Skip pre creation of NVMe disks 2a372 Fix some wrong usage of ATTRIBUTE_NONNULL e728ff conf: Increase cpuset length limit for CPU pinning 8f58a4 virQEMUDriverConfigNew: Add slash to cfg defaultTLSx509certdir for non-embeded driver 1b22dd qemuDomainSetNumaParamsLive: set nodeset for root cgroup bdb8f2 qemu: do not add model when actual iface type is hostdev Signed-off-by: Jin Yan <jinyan12@huawei.com>
39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
From 1285a266c106ebac3fc6d1a7d5bf839a7623a5a0 Mon Sep 17 00:00:00 2001
|
|
From: Daniel P. Berrangé <berrange@redhat.com>
|
|
Date: Mon, 4 May 2020 17:41:46 +0100
|
|
Subject: [PATCH] remote: fix driver name check for libxl driver
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
The virConnectGetType() returns "Xen" for libxl, not "LIBXL".
|
|
|
|
This prevents users opening a connection to the libxl driver when using
|
|
the modular daemons.
|
|
|
|
cherry-pick from commit: d677de9d567e3e87be295b91723457b461345caa
|
|
|
|
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
|
|
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
|
|
Signed-off-by: Jin Yan <jinyan12@huawei.com>
|
|
---
|
|
src/remote/remote_daemon_dispatch.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/remote/remote_daemon_dispatch.c b/src/remote/remote_daemon_dispatch.c
|
|
index c5506c2..d2652e3 100644
|
|
--- a/src/remote/remote_daemon_dispatch.c
|
|
+++ b/src/remote/remote_daemon_dispatch.c
|
|
@@ -2111,7 +2111,7 @@ remoteDispatchConnectOpen(virNetServerPtr server G_GNUC_UNUSED,
|
|
|
|
VIR_DEBUG("Primary driver type is '%s'", type);
|
|
if (STREQ(type, "QEMU") ||
|
|
- STREQ(type, "LIBXL") ||
|
|
+ STREQ(type, "Xen") ||
|
|
STREQ(type, "LXC") ||
|
|
STREQ(type, "VBOX") ||
|
|
STREQ(type, "bhyve") ||
|
|
--
|
|
1.8.3.1
|
|
|