From 6203e43d03a93a797e46559ce734227fad0b3ed1 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 21 Jul 2022 16:27:57 +0200 Subject: [PATCH] qemuDomainSecretStorageSourcePrepare: Remove cabapbility check when preparing cookies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The capability is checked when we validate the source in the first place. Also it won't make sense any more. Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina Reviewed-by: Ján Tomko --- src/qemu/qemu_domain.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 617048faef..1784c05c9e 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -1323,7 +1323,6 @@ qemuDomainSecretStorageSourcePrepare(qemuDomainObjPrivate *priv, } if (src->ncookies && - virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_BLOCKDEV) && !(srcPriv->httpcookie = qemuDomainSecretStorageSourcePrepareCookies(priv, src, aliasprotocol)))