[libvirt] [PATCH] virCondWaitUntil: calculate timespec correctly

2015-04-16 Thread Michael Chapman
ts.tv_nsec was off by a factor of 1000, making timeouts less than a second in the future often expiring immediately. Signed-off-by: Michael Chapman m...@very.puzzling.org --- src/util/virthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virthread.c

Re: [libvirt] [PATCH] virCondWaitUntil: calculate timespec correctly

2015-04-16 Thread Michal Privoznik
On 16.04.2015 11:27, Michael Chapman wrote: ts.tv_nsec was off by a factor of 1000, making timeouts less than a second in the future often expiring immediately. Signed-off-by: Michael Chapman m...@very.puzzling.org --- src/util/virthread.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [libvirt] [PATCH] virCondWaitUntil: calculate timespec correctly

2015-04-16 Thread Martin Kletzander
On Thu, Apr 16, 2015 at 03:48:25PM +0200, Martin Kletzander wrote: On Thu, Apr 16, 2015 at 07:27:36PM +1000, Michael Chapman wrote: ts.tv_nsec was off by a factor of 1000, making timeouts less than a second in the future often expiring immediately. Signed-off-by: Michael Chapman

Re: [libvirt] [PATCH] virCondWaitUntil: calculate timespec correctly

2015-04-16 Thread Martin Kletzander
On Thu, Apr 16, 2015 at 07:27:36PM +1000, Michael Chapman wrote: ts.tv_nsec was off by a factor of 1000, making timeouts less than a second in the future often expiring immediately. Signed-off-by: Michael Chapman m...@very.puzzling.org --- src/util/virthread.c | 2 +- 1 file changed, 1