Re: [PATCH 69/80] qemuDomainSecretStorageSourcePrepare: Remove cabapbility check when preparing cookies

2022-08-05 Thread Pavel Hrdina
On Tue, Jul 26, 2022 at 04:37:47PM +0200, Peter Krempa wrote:
> 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 
> ---
>  src/qemu/qemu_domain.c | 1 -
>  1 file changed, 1 deletion(-)

Reviewed-by: Pavel Hrdina 


signature.asc
Description: PGP signature


[PATCH 69/80] qemuDomainSecretStorageSourcePrepare: Remove cabapbility check when preparing cookies

2022-07-26 Thread Peter Krempa
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 
---
 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 32319c1503..fb29135179 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -1322,7 +1322,6 @@ qemuDomainSecretStorageSourcePrepare(qemuDomainObjPrivate 
*priv,
 }

 if (src->ncookies &&
-virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_BLOCKDEV) &&
 !(srcPriv->httpcookie = 
qemuDomainSecretStorageSourcePrepareCookies(priv,
 
src,
 
aliasprotocol)))
-- 
2.36.1