On Mon, Jan 23, 2017 at 04:19:55AM -0500, Pradeep Jagadeesh wrote: > This will allow other subsystems (i.e. fsdev) to implement throttling > without duplicating the command line options. > > Signed-off-by: Pradeep Jagadeesh <pradeep.jagade...@huawei.com> > --- > blockdev.c | 80 ++--------------------------------- > fsdev/qemu-fsdev-opts.c | 80 ++--------------------------------- > include/qemu/throttle-options.h | 93 > +++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 101 insertions(+), 152 deletions(-) > create mode 100644 include/qemu/throttle-options.h > > There is some code duplication around the command line options. This patch > is a first proposal to reduce the duplication.
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature