mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
qemu: process: Re-process qemu capability lockout in qemuProcessPrepareQEMUCaps
We clear some capabilities here so the lockouts need to be re-evaluated. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
be1a201533
commit
cd1e6fd478
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user