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

[-- Attachment #1 --]
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/

[-- Attachment #2 --]
<div dir="ltr"><div>Does Bhyve support a form of shared memory between VMs for low-latency inter-vm communication?</div><div><br></div><div>I am interested in implementing something similar to Xen&#39;s vchan, it relies on
Xen&#39;s grant
reference 

 table mechanism and event channels associated with the shared memory region (ring buffer)</div><div><br></div><div>The purpose for doing so is to create secure communication between VM&#39;s ala Qube&#39;s qrexec protocol.</div><div><br></div><div><a href="https://www.cs.uic.edu/~xzhang/vchan/">https://www.cs.uic.edu/~xzhang/vchan/</a></div><div><a href="https://mirage.io/blog/introducing-vchan">https://mirage.io/blog/introducing-vchan</a></div><div><a href="https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=xen/include/public/io/libxenvchan.h;hb=HEAD">https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=xen/include/public/io/libxenvchan.h;hb=HEAD</a></div><div><a href="https://www.qubes-os.org/doc/qrexec-internals/">https://www.qubes-os.org/doc/qrexec-internals/</a></div><div><br></div><div><br></div></div>;

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