Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2023 12:07:42 +0100
From:      Jarrad Hope <me@jarradhope.com>
To:        freebsd-virtualization@freebsd.org
Subject:   Inter-VM Communication under Bhyve?
Message-ID:  <CAJoVafc6zCovcya1NQXPqw23aUPm3f2hSbMhmOCKXwt6gz-03g@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000c13b2105f492db42
Content-Type: text/plain; charset="UTF-8"

Does Bhyve support a form of shared memory between VMs for low-latency
inter-vm communication?

I am interested in implementing something similar to Xen's vchan, it relies
on Xen's grant reference table mechanism and event channels associated with
the shared memory region (ring buffer)

The purpose for doing so is to create secure communication between VM's ala
Qube's qrexec protocol.

https://www.cs.uic.edu/~xzhang/vchan/
https://mirage.io/blog/introducing-vchan
https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=xen/include/public/io/libxenvchan.h;hb=HEAD
https://www.qubes-os.org/doc/qrexec-internals/

--000000000000c13b2105f492db42
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Does Bhyve support a form of shared memory between VM=
s for low-latency inter-vm communication?</div><div><br></div><div>I am int=
erested in implementing something similar to Xen&#39;s vchan, it relies on
Xen&#39;s grant
reference=20

 table mechanism and event channels associated with the shared memory regio=
n (ring buffer)</div><div><br></div><div>The purpose for doing so is to cre=
ate secure communication between VM&#39;s ala Qube&#39;s qrexec protocol.</=
div><div><br></div><div><a href=3D"https://www.cs.uic.edu/~xzhang/vchan/">h=
ttps://www.cs.uic.edu/~xzhang/vchan/</a></div><div><a href=3D"https://mirag=
e.io/blog/introducing-vchan">https://mirage.io/blog/introducing-vchan</a></=
div><div><a href=3D"https://xenbits.xen.org/gitweb/?p=3Dxen.git;a=3Dblob;f=
=3Dxen/include/public/io/libxenvchan.h;hb=3DHEAD">https://xenbits.xen.org/g=
itweb/?p=3Dxen.git;a=3Dblob;f=3Dxen/include/public/io/libxenvchan.h;hb=3DHE=
AD</a></div><div><a href=3D"https://www.qubes-os.org/doc/qrexec-internals/"=
>https://www.qubes-os.org/doc/qrexec-internals/</a></div><div><br></div><di=
v><br></div></div>

--000000000000c13b2105f492db42--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJoVafc6zCovcya1NQXPqw23aUPm3f2hSbMhmOCKXwt6gz-03g>