We clear some capabilities here so the lockouts need to be
re-evaluated.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_process.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index f170554198..bc97ec3bb4 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -5528,6 +5528,9 @@ qemuProcessPrepareQEMUCaps(virDomainObjPtr vm,
if (qemuProcessStartUpdateCustomCaps(vm) < 0)
return -1;
+ /* re-process capability lockouts since we might have removed capabilities */
+ virQEMUCapsInitProcessCapsInterlock(priv->qemuCaps);
+
return 0;
}
--
2.23.0