From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwmPA-0003Iw-HS for qemu-devel@nongnu.org; Tue, 17 Jun 2014 01:58:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwmP3-000328-2N for qemu-devel@nongnu.org; Tue, 17 Jun 2014 01:58:00 -0400 Received: from mout.web.de ([212.227.15.14]:49638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwmP2-00031w-OG for qemu-devel@nongnu.org; Tue, 17 Jun 2014 01:57:52 -0400 Message-ID: <539FD8CE.2060203@web.de> Date: Tue, 17 Jun 2014 07:57:34 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <20140610184818.2e490419@nbschild1> <87r42uq2v8.fsf@rustcorp.com.au> <53993B7B.7010404@siemens.com> <87fvj9prdi.fsf@rustcorp.com.au> <539A98D3.3070601@siemens.com> <539ABA41.3070701@redhat.com> <539D3B35.2010706@web.de> <539FD124.6050007@redhat.com> In-Reply-To: <539FD124.6050007@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="A817odVqqmbK587n7bbQNXJQ7ctjh1l0H" Subject: Re: [Qemu-devel] Using virtio for inter-VM communication List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Rusty Russell , Henning Schild , qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org, kvm@vger.kernel.org Cc: Jailhouse This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --A817odVqqmbK587n7bbQNXJQ7ctjh1l0H Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-06-17 07:24, Paolo Bonzini wrote: > Il 15/06/2014 08:20, Jan Kiszka ha scritto: >>> > I think implementing Xen hypercalls in jailhouse for grant table an= d >>> > event channels would actually make a lot of sense. The Xen >>> > implementation is 2.5kLOC and I think it should be possible to comp= act >>> > it noticeably, especially if you limit yourself to 64-bit guests. >> At least the grant table model seems unsuited for Jailhouse. It allows= a >> guest to influence the mapping of another guest during runtime. This w= e >> want (or even have) to avoid in Jailhouse. >=20 > IIRC implementing the grant table hypercalls with copies is inefficient= > but valid. Back to #1: This is what Rusty is suggesting for virtio. Nothing to win with grant tables then. And if we really have to copy, I would prefer to use a standard. I guess we need to play with prototypes to assess feasibility and impact on existing code. Jan --A817odVqqmbK587n7bbQNXJQ7ctjh1l0H Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlOf2NQACgkQitSsb3rl5xQSywCcC4X+1ALJQ7pBL5onu/3ADVyw 5+kAnR/VbN7Rit0t0D9FX1o/FxnG0Co2 =YbQW -----END PGP SIGNATURE----- --A817odVqqmbK587n7bbQNXJQ7ctjh1l0H--