[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] block/null: Latency simulation by adding new
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH v2] block/null: Latency simulation by adding new option "latency_ns" |
Date: |
Wed, 11 Mar 2015 13:16:31 +0800 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, 03/06 10:14, Eric Blake wrote:
> On 03/04/2015 06:32 PM, Fam Zheng wrote:
> > Aio context switch should just work because the requests will be
> > drained, so the scheduled timer(s) on the old context will be freed.
> >
> > Signed-off-by: Fam Zheng <address@hidden>
> >
> > ---
> > v2: Check for negative value; add sleep in null-co://. [Kevin]
> > ---
> > block/null.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
> > 1 file changed, 50 insertions(+), 5 deletions(-)
>
> Is it possible to pass this new parameter via QMP? If so, shouldn't the
> .json file also document it? And if so, should it be named with '-'
> instead of '_' for use from QMP?
Sure.
Fam