mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-11 12:25:52 +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)
|
if (qemuProcessStartUpdateCustomCaps(vm) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
/* re-process capability lockouts since we might have removed capabilities */
|
||||||
|
virQEMUCapsInitProcessCapsInterlock(priv->qemuCaps);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user