[libvirt] [PATCH] libxl: remove unneeded locking of driver when restoring

2014-02-06 Thread Jim Fehlig
libxlDomainRestoreFlags acquires the driver lock while reading the domain config from the save file and adding it to libxlDriverPrivatePtr-domains. But virDomainObjList provides self-locking APIs, so remove the needless driver locking. Signed-off-by: Jim Fehlig jfeh...@suse.com --- I noticed

Re: [libvirt] [PATCH] libxl: remove unneeded locking of driver when restoring

2014-02-06 Thread Michal Privoznik
On 06.02.2014 18:46, Jim Fehlig wrote: libxlDomainRestoreFlags acquires the driver lock while reading the domain config from the save file and adding it to libxlDriverPrivatePtr-domains. But virDomainObjList provides self-locking APIs, so remove the needless driver locking. Signed-off-by: Jim

Re: [libvirt] [PATCH] libxl: remove unneeded locking of driver when restoring

2014-02-06 Thread Jim Fehlig
Michal Privoznik wrote: On 06.02.2014 18:46, Jim Fehlig wrote: libxlDomainRestoreFlags acquires the driver lock while reading the domain config from the save file and adding it to libxlDriverPrivatePtr-domains. But virDomainObjList provides self-locking APIs, so remove the needless driver