Re: [Qemu-devel] [PATCH v3 1/3] throttle: Make NANOSECONDS_PER_SECOND an integer

2014-09-24 Thread Eric Blake
On 09/24/2014 09:21 AM, Benoît Canet wrote: > We will want to reuse this define in the future by making it common to > multiple > QEMU modules. > It would be safer that this define be an integer so we avoid strange float > rounding errors. > Do this conversion. > > Signed-off-by: Benoît Canet >

[Qemu-devel] [PATCH v3 1/3] throttle: Make NANOSECONDS_PER_SECOND an integer

2014-09-24 Thread Benoît Canet
We will want to reuse this define in the future by making it common to multiple QEMU modules. It would be safer that this define be an integer so we avoid strange float rounding errors. Do this conversion. Signed-off-by: Benoît Canet --- include/qemu/throttle.h | 2 +- 1 file changed, 1 insertio