Release the GIL during virDomainGetMemoryStats & virDomainGetDiskErrors
Release the GIL during virDomainGetMemoryStats & virDomainGetDiskErrors

We discovered that the entire python process get stuck for about 30
seconds when calling virDomain.getMemoryStats() if libvirt is stuck in
virConnect.getAllDomainStats() on inaccessible storage. This blocking
cause a horrible mess in oVirt.

This patches adds the standard *_ALLOW_THREADS around the call to avoid
this unwanted blocking.

Signed-off-by: Nir Soffer <4ee68412d43dfd99f7312a646c41651b1d418857@gmail.com>

libvirt/libvirt-python,libvirt/libvirt-python,libvirt/libvirt-python