On 09.07.19 07:36, Jan Kiszka wrote:
Hi all,

long-announced, I feel like it's finally in a good shape to publish it: The new
version of something I would call "ivshmem 2.0" is now available in
wip/ivshmem2. Highlights of this:

  - vmexit-free peer state table in shared memory
  - all key features of current QEMU's ivshmem, specifically
    - multi-peer support
    - multi-vector support
  - unidirectional shared memory (optional)
  - UIO-friendly one-shot interrupt mode (optional)

The corresponding kernel drivers, including a rewritten UIO driver, are
available under
http://git.kiszka.org/?p=linux.git;a=shortlog;h=refs/heads/queues/jailhouse-ivshmem2.

The code hasn't been extensively tested yet, so any early feedback is welcome.
Just keep in mind that things are still in flux, specifically as the discussion
with the QEMU and also virtio communities hasn't been started yet.

One of the next steps is demonstrating the feasibility of stacking virtio on top
of ivshmem2. I also plan to reach out to the QEMU community to ask for feedback
and interest in enhancing their ivshmem model equivalently. In the ideal world,
this model will not only used by Jailhouse in the end.


Some update: There is now a QEMU patch [1] which contains a prototype of the ivshmem2 device, including a server (required due to the process-based setup of QEMU). Works with ivshmem-net and the new uio driver.

I will make this available to the QEMU community soon.

Jan

[1] http://git.kiszka.org/?p=qemu.git;a=commitdiff;h=wip/ivshmem2

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

--
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/48f69d0b-3057-14f6-efb9-fd525a352a84%40siemens.com.

Reply via email to