Re: [Qemu-block] [PATCH 1/2] block: add clock_type field to ThrottleGroup

2017-07-06 Thread Stefan Hajnoczi
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

[Qemu-block] [PATCH 1/2] block: add clock_type field to ThrottleGroup

2017-07-02 Thread Manos Pitsidianakis
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.