[libvirt] [PATCH] Don't update dom->persistent without lock held
John Ferlan
jferlan at redhat.com
Mon Oct 28 14:24:36 UTC 2013
On 10/28/2013 10:08 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> virDomainObjListLoadAllConfigs sets dom->persistent after
> having released its lock on the domain object. This exposes
> a possible race condition.
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> src/conf/domain_conf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
ACK
John
More information about the libvir-list
mailing list