libvirt/daemon
Daniel P. Berrange 32f021f266 Fix event test timer checks on kernels with HZ=100
On kernels with HZ=100, the resolution of sleeps in poll() is
quite bad. Doing a precise check on the expiry time vs the
current time will thus often thing the timer has not expired
even though we're within 10ms of the expected expiry time. This
then causes another pointless sleep in poll() for <10ms. Timers
do not need to have such precise expiration, so we treat a timer
as expired if it is within 20ms of the expected expiry time. This
also fixes the eventtest.c test suite on kernels with HZ=100

* daemon/event.c: Add 20ms fuzz when checking for timer expiry
2009-12-02 11:53:42 +00:00
..
.gitignore Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
dispatch.c Pass remote_message_header to the dispatch functions. 2009-09-30 14:05:57 +02:00
dispatch.h Change signature of remoteSendStreamData() to fix compile warning 2009-09-30 12:37:10 +02:00
event.c Fix event test timer checks on kernels with HZ=100 2009-12-02 11:53:42 +00:00
event.h Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.aug Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.c Fix help message 2009-11-26 18:51:51 +00:00
libvirtd.conf Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.h Move libvirtd event loop into background thread 2009-11-03 14:45:43 -05:00
libvirtd.init.in Fix initscript to check daemon pidfile 2009-11-13 10:37:11 +00:00
libvirtd.logrotate.in Do not log rotate very small logs 2009-10-21 13:56:04 +02:00
libvirtd.policy-0 Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.policy-1 Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.sasl Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.sysconf Allow control over QEMU audio backend 2009-09-29 15:53:10 +01:00
Makefile.am Fix --with-init-script configure option 2009-11-02 17:57:05 +01:00
mdns.c Rename daemon main code 2009-09-21 14:41:45 +01:00
mdns.h Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
remote_dispatch_args.h Implmentation of new APIs to checking state/persistence of objects 2009-11-10 17:00:27 +00:00
remote_dispatch_prototypes.h Add virConnectGetLibvirtVersion API 2009-11-12 10:53:26 -05:00
remote_dispatch_ret.h Add virConnectGetLibvirtVersion API 2009-11-12 10:53:26 -05:00
remote_dispatch_table.h Add virConnectGetLibvirtVersion API 2009-11-12 10:53:26 -05:00
remote_generate_stubs.pl Pass remote_message_header to the dispatch functions. 2009-09-30 14:05:57 +02:00
remote.c Add virConnectGetLibvirtVersion API 2009-11-12 10:53:26 -05:00
remote.h Pass remote_message_header to the dispatch functions. 2009-09-30 14:05:57 +02:00
stream.c Let remoteClientStream only do RX if requested. 2009-09-30 14:05:41 +02:00
stream.h Let remoteClientStream only do RX if requested. 2009-09-30 14:05:41 +02:00
test_libvirtd.aug Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
THREADING.txt Move libvirtd event loop into background thread 2009-11-03 14:45:43 -05:00