From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTvpT-0006sU-Af for qemu-devel@nongnu.org; Fri, 06 Mar 2015 12:14:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTvpQ-0000xP-Iq for qemu-devel@nongnu.org; Fri, 06 Mar 2015 12:14:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTvpQ-0000xK-98 for qemu-devel@nongnu.org; Fri, 06 Mar 2015 12:14:24 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t26HENnd010364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 6 Mar 2015 12:14:23 -0500 Message-ID: <54F9E06E.5030200@redhat.com> Date: Fri, 06 Mar 2015 10:14:22 -0700 From: Eric Blake MIME-Version: 1.0 References: <1425519178-17863-1-git-send-email-famz@redhat.com> In-Reply-To: <1425519178-17863-1-git-send-email-famz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="W2fkT85tSnhUswUUndhdFmTdHEs3d8VwU" Subject: Re: [Qemu-devel] [PATCH v2] 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) --W2fkT85tSnhUswUUndhdFmTdHEs3d8VwU Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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. >=20 > Signed-off-by: Fam Zheng >=20 > --- > 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 =2Ejson file also document it? And if so, should it be named with '-' instead of '_' for use from QMP? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --W2fkT85tSnhUswUUndhdFmTdHEs3d8VwU 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/ iQEcBAEBCAAGBQJU+eBuAAoJEKeha0olJ0Nq/YkH/01gJHQeTxpxCT7M9i3ALtBj PuXMM+D9cHDsYw1D3UUVAJ/GdcZ9WiBDLYphBcrJFLIL7V1+TFS8Y3id5ZFvv0R/ xnZolyRhkWgM0ka4m7LeA2IAnxgnmdiHOfQZov48RGbR7MIZOiieBzQwSuyVXBsG 5N4hMulx8yXOR23kN6f9HEjMvVih+TJ0B6F/stdqB7QOwPqLwVT0mvbMB0IsxAXn thmF/JdpV5yAanTvEZZ9ffgHpVY5F/7Yq76uMUxwv4AKf9mtr/OuRhv0huotJU03 TPGHGefDamzvBaoWDL7M/ZRpa5XiN/Jp/0Jl2xpKEP5WuOH1OoxopMCx4bzlTUw= =Ladr -----END PGP SIGNATURE----- --W2fkT85tSnhUswUUndhdFmTdHEs3d8VwU--