On Sun, Jul 02, 2017 at 01:06:45PM +0300, Manos Pitsidianakis wrote: > Clock type in throttling is currently inferred by the ThrottleTimer's > clock type even though it is a per-ThrottleGroup property; it doesn't > make sense to have different clock types in the same group. Moving this > to a field in ThrottleGroup can simplify some of the throttle functions. > > Signed-off-by: Manos Pitsidianakis <el13...@mail.ntua.gr> > --- > block/throttle-groups.c | 20 ++++++++++---------- > fsdev/qemu-fsdev-throttle.c | 2 +- > include/qemu/throttle.h | 1 + > tests/test-throttle.c | 4 ++-- > util/throttle.c | 4 +++- > 5 files changed, 17 insertions(+), 14 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature