From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1k6L-00071j-16 for qemu-devel@nongnu.org; Mon, 30 Jun 2014 18:31:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1k6G-0008NZ-3P for qemu-devel@nongnu.org; Mon, 30 Jun 2014 18:31:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1k6F-0008NN-Pn for qemu-devel@nongnu.org; Mon, 30 Jun 2014 18:31:00 -0400 Message-ID: <53B1E521.2010207@redhat.com> Date: Mon, 30 Jun 2014 16:30:57 -0600 From: Eric Blake MIME-Version: 1.0 References: <53B1D1E2.5030105@redhat.com> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9H3vwBoviQfCv1Oe4vjbpldnQeQ9OqOG6" Subject: Re: [Qemu-devel] Qemu only uses a Qemu File to communicate in two hosts? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gary Jordan Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --9H3vwBoviQfCv1Oe4vjbpldnQeQ9OqOG6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/30/2014 03:58 PM, Gary Jordan wrote: > Hi Eric, [please don't top-post in technical lists] >=20 > Could I find a way for two guests in two hosts to communicate? Like q= emu > starts one vm in Host 1 and qemu also starts a vm in Host 2, the vm can= > share their memory. Is there some existed way to do that, like remote = IPC > in qemu? How would you communicate between two bare-metal hosts? Emulate that same setup in your two guests. You appear to be intent on setting up shared memory solutions, when I think the better thing is to focus on setting up efficient emulated network device solutions. Then your code will be portable no matter how the network device frontend is hooked up to the host backend (and it may be possible to have a host backend that uses shared memory for a very efficient network device emulation when two VMs are on the same host, but which can also be ported to work between VMs on different hosts by using regular networking - and that's what virtio-net is focusing on defining). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --9H3vwBoviQfCv1Oe4vjbpldnQeQ9OqOG6 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/ iQEcBAEBCAAGBQJTseUhAAoJEKeha0olJ0NqKEkH/2qxPqpno3/L6sQcGvR37BNZ w0sP/P43wMWHkEgM/MXgnzU7BRNLDNBvi6ep1l6qhVNZpbUyNEse8O7cRmrhPdvi PcbpiEDiDhVLOLsPGUY0wtVbeiT0/5a2qvlIae4s1SvOMM6VhAQ1YIWo4tKhXtmV DomOi6fMqoDm+8USmGK66WjAEKatw0Bkhf7xrvP9I2757iyZcwoh/wlzhFNs/ZG5 NDcLlt0ltDbFtOhw3rFcsi4W1Jh160EgMXnOSEGp6+cCnAeQYSOK3F+TgFmMWm7j xUUEFn75sTdn/Kdvx7pg3/WWlZE3YBNttVLerLThdxCT4Kc4jJgAdRGmjEmv4rI= =+sYU -----END PGP SIGNATURE----- --9H3vwBoviQfCv1Oe4vjbpldnQeQ9OqOG6--