From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVo1y-0007yc-2V for qemu-devel@nongnu.org; Wed, 11 Mar 2015 17:19:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVo1u-0003uf-SC for qemu-devel@nongnu.org; Wed, 11 Mar 2015 17:19:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVo1u-0003uW-K5 for qemu-devel@nongnu.org; Wed, 11 Mar 2015 17:19:02 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t2BLJ2dD026411 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 11 Mar 2015 17:19:02 -0400 Message-ID: <5500B145.2060301@redhat.com> Date: Wed, 11 Mar 2015 15:19:01 -0600 From: Eric Blake MIME-Version: 1.0 References: <1426052578-25026-1-git-send-email-famz@redhat.com> In-Reply-To: <1426052578-25026-1-git-send-email-famz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CfLo0cDJDrNB0XVfoQl8ccLgAqTrBBJI4" Subject: Re: [Qemu-devel] [PATCH v3] block/null: Latency simulation by adding new option "latency-ns" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --CfLo0cDJDrNB0XVfoQl8ccLgAqTrBBJI4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03/10/2015 11:42 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. >=20 > Signed-off-by: Fam Zheng >=20 > --- > v3: latency_ns -> latency-ns; Add documentation in qapi json. [Eric] > v2: Check for negative value; add sleep in null-co://. [Kevin] > --- > block/null.c | 55 ++++++++++++++++++++++++++++++++++++++++++++= +++----- > qapi/block-core.json | 5 ++++- > 2 files changed, 54 insertions(+), 6 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --CfLo0cDJDrNB0XVfoQl8ccLgAqTrBBJI4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEbBAEBCAAGBQJVALFFAAoJEKeha0olJ0NqV5YH9Ra+v7elJjIFJEij+euUSy9/ JsJOtp9z7Rv/R6fqrpl4ZGNkN2XtL+3kGtZfKlXb3Y7tLCP8HrD0BfszhyE5Z6lL ZoEh1XEm/o8q6kWGPqwywrpWd0c5UXBpQJ8z2LHuDFq5PWWov3LW08PUSqdpVNVt jnPo+fxsYTp7E1n5iUlwyhhznWsQy96fv4HBZkSAfjptQT0ypt8v6wPYvs7JtWr6 FAoBZ6WpF5KJRIY2dLTIZ9dVTP+Ik4Nfz9lWv/pXMSPHpHpGMwcfnbflKqOA268R rooIRJ8+ttdjCgEphuqRYXB6QU11tdlkwkvh+zQ9GvaEOqRCYyVBfQkZtT+1sA== =R1yS -----END PGP SIGNATURE----- --CfLo0cDJDrNB0XVfoQl8ccLgAqTrBBJI4--