Skip to content

qemu-ntb: Survey of literature and prior work

Date: 2026-11-24. Source versions checked: Linux mainline 7.4-rc4 (git.kernel.org/torvalds), QEMU master (gitlab.com/qemu-project, last commit 2026-11-23). In this file, [Kn] citations point to the References list at the bottom. "Not verified" marks information whose primary source I could not read, or that I know only from a secondary summary.

Translated from Turkish (2026-11-26); the survey itself was not redone. Later findings are marked "Update".


0. Summary (TL;DR)

  1. Upstream QEMU has no NTB device. ntb / "non-transparent" does not appear in QEMU MAINTAINERS, hw/ or docs/system/devices/ [K30][K31]. I found no NTB device patch in the qemu-devel archive. The archive search is incomplete, because lore.kernel.org hit bot protection and the lists.gnu.org search index was locked for maintenance (see Open questions).
  2. The only known serious open-source attempt is OSLL/ntb-cxl [K1]. It imitates the IDT 89HPES24NT6AG2 and shares all of the guest RAM through ivshmem-server and /dev/shm. No DMA. Last commit 2024-11-12. Important finding: the IDT model has no scratchpads, and the driver does not provide mw_set_trans. So ntb_transport/ntb_netdev cannot work with this device in principle (§3.3). Its README indeed shows only ntb_tool, ntb_pingpong and ntb_perf.
  3. The closest work "heading upstream" is PCIe Endpoint emulation, not NTB. Manivannan Sadhasivam's pcie-ep-ctrl/pcie-ep-generic series (2026-09-13) runs inside a single QEMU instance and does not use a second QEMU instance [K10]. It is not in master: the files are not in the tree and no reply shows on the archive page. Earlier work: Shunsuke Mie's 2023 RFC and KVM Forum 2024 talk (libvfio-user based) [K11][K12].
  4. The Linux NTB core is alive. In 2026 ntb_transport was hardened, ntb_netdev got multi-queue support (2026-03-05), doorbell fixes went in for pci-epf-vntb/ntb_hw_epf, and the get_dma_dev op was added. Koichiro Den's "remote eDMA", "packed MW" and "MW group" series are still pending on the list [K20][K21][K22][K23].
  5. The most important conclusion for the design: the minimum model needed for ntb_transport is very close to the "virtual NTB" model that ntb_hw_epf and pci-epf-vntb implement (command/status register, spad block, doorbell, MW BARs). This software-defined NTB register model in upstream is a better starting point than imitating a real chip (§4, §7).

1. Prior NTB attempts in QEMU and emulators

1.1 OSLL/ntb-cxl [K1]

  • MIT licence, 290 commits, 22 open issues (according to the README). Last commit 2024-11-12 ("Merge pull request #109 ... fix-docker-default-cmd"). I verified this with the GitHub API.
  • Runs on QEMU v8.0.2 and Linux 6.1. Uses a Yocto core-image-full-cmdline image, and everything runs inside Docker.
  • The device is called idt-ntb-ivshmem and emulates the NT function of the IDT 89HPES24NT6AG2. One partition, with port 0 and port 2 configured.
  • Implemented: link, message registers, doorbells, IRQ and masking, MW translation (including DIR mode). The connection goes through ivshmem-server. The --qemu-map-ram-to-shm option puts guest RAM into the files /dev/shm/qemu{1,2}, so the other side can access this RAM directly.
  • mw_set_trans/mw_clear_trans were added to ntb_hw_idt. According to the README the reason is that ntb_perf needs them and the real IDT does not have these ops.
  • No DMA. So ntb_perf use_dma fails, and NTRDMA init fails too. The sample output in the README: 1 MiB copied in 1.325 s, reported as "0 MBytes/s". This is sample output, not a benchmark.
  • ntb_netdev/ntb_transport are not mentioned in the README, probably because of the requirements in §3.3 (IDT has no spads).
  • The project's goal was to run RDMA with NTRDMA.
  • The "CXL" part is not explained in the README (not verified).

1.2 Other GitHub attempts

  • eltondna/QEMU-NTB [K2]: a single commit (2026-06-17), no licence, ~27 KB. Contains qemu-epc.c, qemu-epc-bridge.c, epf-bridge.c and demo EPC/EPF drivers. Despite its name it is not an NTB device but a PCIe endpoint experiment similar to Shunsuke Mie's QEMU-EPC approach (I did not examine its contents in detail).
  • gh search repos for "qemu ntb", "virtual ntb", "ntb emulation", "ivshmem ntb", "qemu non-transparent bridge" gave no other meaningful results.

1.3 qemu-devel, GSoC and Outreachy

  • A web search found no patch or RFC that adds an NTB device to QEMU. In 2026 only an unrelated series came up: "hw/pci-bridge: Configurable apparent bandwidth for the PCIe topology" [K13]. That series adds generic switch ports (pcie-upstream-port 1b36:0015, pcie-downstream-port 1b36:0016). Both are registered in docs/specs/pci-ids.rst, so at least the IDs went in [K33].
  • I found no NTB project in the GSoC/Outreachy idea lists (not verified, no systematic search).
  • A direct archive search was not possible. lore.kernel.org/qemu-devel hit the "Anubis" bot protection. The lists.gnu.org namazu index answered "locked for maintenance". So the statement "there is no NTB patch on qemu-devel at all" is only partly verified.

1.4 Other emulators and simulators

  • I found no public NTB model for gem5 or Simics [K40]. Since Simics is closed source, Intel's internal models are unknown (not verified).
  • Xilinx libsystemctlm-soc connects QEMU with KVM to RTL PCIe cards for co-simulation, but has no NTB [K41].
  • I found no academic work that emulates NTB between VMs. The academic NTB literature is on real hardware (§5.4).

1.5 PCIe Endpoint emulation (the QEMU work closest to NTB)

Work Date Architecture Status
Shunsuke Mie, "[RFC] Proposal of QEMU PCI Endpoint test environment" [K11] 2023-08-18 QEMU EPC device + Linux EPC driver + QEMU EPF bridge. Two guests connected by a Unix socket. RFC. Kastner and Nissler suggested vfio-user/libvfio-user.
Mie, KVM Forum 2024 "Virtual device for testing the Linux PCIe endpoint framework" [K12] 2024-09-22 A custom virtual EPC based on libvfio-user. Demo with QEMU-EPC + Cloud-Hypervisor. Open items: DMA, live migration. Not upstream.
Sadhasivam, LPC 2024 EP open items [K14] 2024 Mentions the "two guests on the same host, UNIX socket" limitation of Mie's approach. —
Sadhasivam, "[PATCH 0/4] Add PCIe Endpoint emulation for the Linux PCI Endpoint framework" [K10] 2026-09-13 One QEMU, one guest: the EPC (pcie-ep-ctrl, SysBus) and the hot-plugged EPF (pcie-ep-generic) in the same guest. Outbound = an alias of guest RAM. "no second QEMU instance or inter-process protocol is needed". Selftest: 10 pass / 10 fail / 3 skip. No DMA, INTx or doorbell. The Linux EPC driver (pci-ep-generic) is not upstream. The files are not in QEMU master and no reply shows in the archive.

What it means for NTB: if pcie-ep-ctrl is merged, it may become possible to test a "loopback NTB" inside a single VM through pci-epf-vntb and ntb_hw_epf. NTB between two VMs is explicitly outside the scope of that work. Our project fills this gap.


2. Shared memory between VMs in QEMU

2.1 ivshmem (plain/doorbell) [K34][K35]

  • PCI ID 1af4:1110, rev 1. Three BARs:
  • BAR0: a 256 B register area (IntrMask, IntrStatus, IVPosition, Doorbell peer<<16 | vector).
  • BAR1: MSI-X (only in the doorbell variant).
  • BAR2: the shared memory.
  • For ivshmem-plain, a memdev (memory-backend-file,share=on,mem-path=/dev/shm/...) is enough. ivshmem-doorbell connects to ivshmem-server through a chardev.
  • The server protocol is one-way (server to client). Messages are 8-byte LE ints, carrying an fd with SCM_RIGHTS when needed. The sequence is: version (0), ID, -1 + shm fd, N eventfds per peer, its own N eventfds, then connect/disconnect notifications. A doorbell is just writing 8 bytes of 1 to an eventfd. Under KVM it is short-circuited with irqfd and ioeventfd.
  • The spec's own findings: "The protocol is poorly designed". The guest cannot learn whether the guide is connected. If the server crashes, it is not possible to reconnect. Polling is impossible because the pending bit cannot be cleared. The sample server is described as "Not to be used in production".
  • Migration: the single device with master=on carries the shared memory. Those with master=off block migration, and hot-unplug and replug are recommended [K34].
  • Maintenance state: QEMU MAINTAINERS has only an ivshmem-flat entry. No separate entry was found for hw/misc/ivshmem-pci.c (master 2026-11-23) [K30]. The file still receives treewide and small fixes (e.g. 2026-07-15 "clear chardev handlers before freeing peers") [K36].
  • The old ivshmem device was deprecated in 2.6 and removed in 4.0. It was split into plain/doorbell instead (Armbruster's 2016 clean-up series) [K37].

2.2 How the maintainers view ivshmem, and why

Markus Armbruster, "Why I advise against using ivshmem" (qemu-devel, 2014-06-12) [K38]: - Practical objections: the code has no maintainer and its error handling is weak. It is not trustworthy against abuse by the guest and by peer guests, and needs an audit. It needs an out-of-tree server and an out-of-tree UIO driver. No libvirt support. - Philosophical objections: "Shared memory is not an interface". A structured interface should be built on top of it. Also "Device models belong in QEMU". - His conditions: a maintainer is found, the code is reviewed, the kernel module goes upstream, the external parts are packaged, and a community forms. - The big 2016 clean-up and the ivshmem-plain/ivshmem-doorbell split addressed some of these criticisms [K37].

What it means for us: 1. The NTB device must not be "raw shared memory" but an interface with a defined specification. Link state, peer present/absent, spad/doorbell semantics and error states must be documented. 2. There must be a guest driver upstream. A Linux ntb_hw_* driver getting into linux-ntb strengthens the QEMU side. 3. No out-of-tree server should be needed. Either the two QEMUs connect directly, or the server lives under contrib/. 4. Defensive code against data from the peer (a security boundary). 5. A long-term maintainer commitment.

2.3 ivshmem v2 (Jan Kiszka, Jailhouse) [K39]

  • It started with "Towards an ivshmem 2.0?" (2017). In 2019-11 came "[RFC][PATCH 0/3] IVSHMEM version 2 device for QEMU" (device, spec and server), and RFC v2 in 2020-01 (with a PCI ID from Siemens). In 2020-05 the spec was sent to the virtio-comment list.
  • In the design, v2 always needs a server. The device offers per-peer state and write-permission regions, and is meant to be used as a virtio transport.
  • In 2020-07 Stefan Hajnoczi organised an "Inter-VM device emulation" call. On the agenda were ivshmem v2, virtio-vhost-user and VFIO-over-socket, with the aim of unifying the efforts [K42].
  • Result: QEMU master has only ivshmem-pci.c and ivshmem-flat.c under hw/misc. So ivshmem v2 was not merged [K31]. virtio-vhost-user is not under hw/virtio either. VFIO-over-socket evolved into vfio-user (§2.5).

2.4 ivshmem-flat [K43]

  • A SysBus variant for non-PCI machines (Cortex-M etc.). Written by Gustavo Romero (Linaro); the v3 series was sent in 2024-12. It is upstream as hw/misc/ivshmem-flat.c, and the MAINTAINERS entry is Romero's (S: Maintained) [K30].
  • The default shmem-size is 4 MiB. It does not support memdev, and the server is mandatory.
  • It shows that in 2024 a new inter-VM device was accepted because it reused the existing ivshmem protocol and came with a maintainer. I did not verify which release it went into.

2.5 vhost-user, vfio-user and multi-process QEMU

  • vhost-user: gives the fds of guest RAM regions to the external process with SET_MEM_TABLE. For that, RAM must be share=on (memory-backend-memfd or memory-backend-file). This is a ready model for "selectively mapping the peer's guest RAM". In 2026 vhost-user SHMEM_MAP/UNMAP (dynamic VIRTIO Shared Memory) is under discussion [K44].
  • vfio-user client: exists in QEMU as hw/vfio-user/. MAINTAINERS lists Levon, Makatos and Le Goater as "Supported" [K30]. A secondary source says it went into 10.1 (not verified) [K45]. Live migration is not yet available on the client side (secondary source) [K45]. Update (2026-11-25): see docs/UPSTREAM-NOTES.md §3; the client does not even block migration.
  • multi-process QEMU (hw/remote/, vfio-user-obj): MAINTAINERS status "Odd Fixes" [K30]. Tying new work to it is risky.
  • What it means for us: vfio-user is a way to implement the device outside QEMU (e.g. with libvfio-user). It needs no upstream QEMU code. It can be considered as an intermediate strategy (§7.6). But every MMIO access becomes a socket round trip, performance drops, and we still have to write the bridge between the two "device servers" ourselves.

2.6 memory-backend-file/memfd and share=on

  • ivshmem-plain and OSLL use this. Putting guest RAM into a file with share=on lets the peer QEMU mmap this RAM. This is also the basic assumption of vhost-user.
  • Limitation: on x86 pc/q35 machines, the mapping between GPA and RAMBlock offset is not one-to-one (the split below/above 4G). I did not verify how OSLL handles this. The right way is to translate the GPA into a MemoryRegionSection and RAMBlock offset and send (fd, offset, len) to the peer (the vhost-user model).

3. The Linux NTB subsystem

3.1 Architecture and maintainers

  • Components:
  • Core: drivers/ntb/core.c and include/linux/ntb.h.
  • HW drivers: drivers/ntb/hw/{amd,idt,intel,epf,mscc}.
  • Clients: ntb_transport.c, msi.c, test/{ntb_tool,ntb_perf,ntb_pingpong,ntb_msi_test}.c, drivers/net/ntb_netdev.c.
  • EPF side: drivers/pci/endpoint/functions/pci-epf-{ntb,vntb}.c.
  • Selftest: tools/testing/selftests/ntb/ntb_test.sh [K20].
  • There is no upstream driver for PLX/Broadcom. drivers/ntb/hw/Kconfig contains only amd, idt, intel, epf and mscc [K20].
  • MAINTAINERS (Linux 7.4-rc4) [K20]:
  • NTB DRIVER CORE: Jon Mason, Dave Jiang, Allen Hubbe. List ntb@lists.linux.dev, tree github.com/jonmason/ntb. Covers drivers/ntb/, ntb_netdev.c, pci-epf-*ntb.c and the selftests.
  • NTB INTEL: Dave Jiang.
  • NTB AMD: Basavaraj Natikar and Shyam Sundar S K.
  • Switchtec (drivers/ntb/hw/mscc/): Kurt Schwemmer and Logan Gunthorpe, linux-pci list.
  • I saw no separate entry for IDT. Everything under drivers/ntb/ falls to NTB DRIVER CORE.
  • Topologies: NTB_TOPO_{PRI,SEC,B2B_USD,B2B_DSD,SWITCH,CROSSLINK,NONE}. IDT uses NTB_TOPO_SWITCH, EPF uses NTB_TOPO_NONE.

3.2 struct ntb_dev_ops: mandatory and optional ops

ntb_dev_ops_is_valid() (include/linux/ntb.h) is checked in ntb_register_device() [K21]: - Mandatory: - Link: link_is_up, link_enable, link_disable. - MW: mw_count, mw_get_align, peer_mw_count, peer_mw_get_addr, plus at least one of mw_set_trans or peer_mw_set_trans. - Doorbell: db_valid_mask, db_read, db_clear, db_set_mask, db_clear_mask, peer_db_set. - In pairs: - db_vector_count ⇔ db_vector_mask. - port_number ⇔ peer_port_count/peer_port_number/peer_port_idx (for multi-port devices). - spad_count ⇔ spad_read/spad_write/peer_spad_write. - msg_count ⇔ msg_inbits/msg_outbits/msg_read_sts/msg_clear_sts/ msg_read/peer_msg_write. - Optional: mw_clear_trans, peer_mw_clear_trans, db_is_unsafe, spad_is_unsafe, db_set, db_read_mask, peer_db_addr (useful for ntb_msi and for doorbells by DMA), peer_spad_addr, peer_spad_read, msg_set_mask, msg_clear_mask, get_dma_dev (added in 2026; ntb_transport now allocates DMA buffers with ntb_get_dma_dev()) [K21][K22]. - Trap: the wrappers ntb_mw_set_trans() and ntb_peer_mw_set_trans() return 0 (success) if the corresponding op is missing [K21]. So if an op is missing, a client can silently work wrongly. This is the background of OSLL adding mw_set_trans to ntb_hw_idt.

3.3 Client requirements (derived from the source)

Client Requirements
ntb_transport (and so ntb_netdev) mw_set_trans is mandatory ("Inbound MW based NTB API is required", otherwise -EINVAL). Scratchpads ≥ 6 (NTB_TRANSPORT_MIN_SPADS = MW0_SZ_HIGH + 2). The number of usable MWs is limited to (spad_count − 4)/2. The spads hold the version, QP_LINKS, NUM_QPS, NUM_MWS and the MW sizes. The QP count is derived from the number of bits in db_valid_mask. It warns if peer_port_count is not 1 (multi-port devices are not supported). With use_dma=1, dma_request_channel(DMA_MEMCPY) with a same NUMA node filter. With use_msi=1, ntb_msi and at least 2 MWs (the last one is reserved for MSI). Options: transport_mtu (default 0x10000), max_mw_size, tx_memcpy_offload (2025). [K21]
ntb_netdev Only the ntb_transport API. Since 2026-03 it supports multiple queues through ethtool channels. In 2026-08 the TX/RX error paths were fixed. [K22]
ntb_perf ≥ 1 MW per peer (peer_mw_count ≥ pcnt). For the command channel, either msg_count ≥ 3 or spad_count ≥ 3·(pcnt+1) (6 for one peer) and doorbell bits 0..pcnt. Inbound: mw_get_align + dma_alloc_coherent + mw_set_trans. Outbound: peer_mw_set_trans (silently 0 if missing). With use_dma=1, a DMA_MEMCPY channel and dma_map_resource(peer->out_phys_addr) as the target: the DMA engine must be able to write to the physical address of the local NTB's outbound BAR. [K21]
ntb_pingpong db_valid_mask must cover bits 0..peer_port_count. spad_count ≥ 1 or msg_count ≥ 1. If db/spad_is_unsafe, unsafe=1 is needed. [K21]
ntb_tool Uses whatever exists, through debugfs. Works with the minimum op set.
ntb_msi / ntb_msi_test peer_mw_get_addr + mw_set_trans + mw_get_align. Translates the local MSI message address (on x86 the LAPIC 0xFEE0_0000 area) into an inbound MW, and the peer writes the MSI data to that MW. For emulation: writes from the peer must be delivered in the local QEMU through pci_dma_write() (aware of MSI and the IOMMU). MSI does not work with a shared mmap alone. [K21]
NTRDMA Out of tree (Allen Hubbe and EMC). Needs NTB and general-purpose DMA. Forks exist instead of the original repository [K50]. Fails on OSLL because there is no DMA.

Conclusion: for the whole target stack, the device needs: ≥ 1 (preferably 2+) MWs with inbound translation (mw_set_trans), ≥ 6 (preferably 16+) scratchpads, ≥ 4 (preferably 32) doorbell bits and MSI-X vectors, link events. Optionally message registers (cleaner for ntb_perf), peer_db_addr and a DMA_MEMCPY engine.

3.4 pci-epf-ntb and pci-epf-vntb

  • pci-epf-ntb (Kishon Vijay Abraham I, ~2021): a SoC with two separate EPC interfaces connects two hosts. Both hosts see an NTB through ntb_hw_epf. The design comes from the LPC 2019 talk "Implementing NTB Controller Using PCIe Endpoints" [K24].
  • pci-epf-vntb (Frank Li, NXP): a single EPC. The RC side sees ntb_hw_epf. The EP side has a "virtual NTB" on a virtual PCI bus (vntb_vid/pid, vbus_number) with its own ntb_dev_ops set (vntb_epf_*). According to the documentation, ntb_transport, ntb_netdev, ntb_pingpong and ntb_tool are supported [K25].
  • The ntb_hw_epf register model (BAR_CONFIG) [K26]:
  • Command and status: COMMAND 0x00 (CONFIGURE_DOORBELL, TEARDOWN_DOORBELL, CONFIGURE_MW, TEARDOWN_MW, LINK_UP, LINK_DOWN), ARGUMENT 0x04, CMD_STATUS 0x08, LINK_STATUS 0x0A, TOPOLOGY 0x0C.
  • Address and size: LOWER/UPPER_ADDR 0x10/0x14, LOWER/UPPER_SIZE 0x18/0x1C.
  • MW and spad: MW_COUNT 0x20, MW1_OFFSET 0x24, SPAD_OFFSET 0x28, SPAD_COUNT 0x2C.
  • Doorbell: DB_ENTRY_SIZE 0x30, DB_DATA(n) 0x34+4n, DB_OFFSET(n) 0xB4+4n. Between 3 and 31 doorbells.
  • BARs: CONFIG, PEER_SPAD, DB and MW1..MW4, mapped per platform with barno_map.
  • Commands are polled with a 1 s timeout.
  • The PCI ID table contains only TI J721E, NXP 0x0809 and Renesas 0x0030 (class PCI_CLASS_MEMORY_RAM). Imitating these IDs in QEMU is not acceptable for upstream.
  • 2026 activity (merged) [K22][K23]:
  • 2026-05-13: doorbell bitmask and vector fixes, db_vector_count/mask, 0-based vectors.
  • 2026-07/09/10: BAR programming with PF/VF, virtual bus lifecycle, "Track link state from both sides", "Honor MSI-X selection".
  • 2026 pending series (Koichiro Den):
  • "NTB transport backed by PCI EP embedded DMA", RFC v4, 38 patches, 2026-01-18 [K27]. Payload over dw-edma, an ntb_transport backend framework and a multi-queue netdev. Reports a "10~20x" gain with iperf3 on R-Car S4 (preliminary). Frank Li, Dave Jiang and Vinod Koul commented.
  • "PCI: endpoint: Remote DMA ..." 2026-03 (15 patches), 2026-08 v2 (5 patches), 2026-09-03 v4 (7 patches) [K28]. Exposes the EP's local DMA channels to the host through vNTB. Only DW eDMA is supported.
  • "PCI/NTB: endpoint: packed vNTB memory windows", 2026-08-03, 11 patches [K29]. Splits a single BAR into up to 16 logical MWs. Adds MW group query and atomic set/clear ops to the NTB core, moves ntb_transport to the group ops, and ntb_perf rejects grouped MWs. Most replies are from an automated review bot. I saw no maintainer approval.
  • Merge state of these: I could not see them in mainline (not verified).
  • Conclusion: the NTB core API is growing in 2026 (MW groups, remote DMA locator). Our driver should stay open to new ops. A "versioned control layout" for the QEMU device (like Den's v1 layout) makes later extension easier.

4. Real hardware register models (source of ideas)

Hardware MW / translation Doorbell Scratchpad / msg Notes
Intel Xeon gen1 (ntb_hw_gen1.h) [K46] 2 MWs (3 with HSX split BAR). PBARxxLMT/XLAT (primary, outbound limit and translation), SBARxxLMT/XLAT (secondary, inbound). In B2B mode part of an MW is reserved for access to the peer registers (B2B_XLAT). 15 bits, 4 MSI-X vectors (5 bits per vector) 16 spads The PPD register gives the topology (B2B/RP/transparent) and USD/DSD. Link state is read from the PCIe Link Status.
Intel gen3/gen4 (Skylake…, ICX/SPR, DiamondRapids "Gen6" in 2026) [K46][K22] BAR2/BAR4 32 bits, 33 MSI-X vectors 16 spads
AMD (ntb_hw_amd.h) [K47] BAR1/23/45 LMT + XLAT (0x414–0x440) 16 doorbells, 24 MSI-X. DBREQ/DBSTAT/DBMASK 16 spads, split 8+8 between the two sides (SPAD_MUX) Peer registers at offset +0x400. SMU events and a 1 s heartbeat timer for the link. According to DPDK, outbound translation is done with OR, not addition, so alignment is required [K48].
IDT 89HPESxNTx (ntb_hw_idt.h) [K49] 6 BARs per port. Direct (DIR) or LUT12/LUT24 translation per BAR. LUT registers (LUTOFFSET/L/M/UDATA, partition field). Up to 29 MWs, 24 ports, 8 partitions. 32 bits (global doorbell, mapping table) No spads. 4 message registers. The only translation op is peer_mw_set_trans (outbound translation). So ntb_transport does not work with the upstream driver (§3.3).
Microchip Switchtec (ntb_hw_switchtec.c) [K51] Direct BARs + LUT MWs (64 KiB, MAX_MWS raised to 256 in 2025) 64 bits, split between the two sides (db_shift/db_peer_shift) No hardware spads. The spads are a struct shared_mw inside a shared MW (magic 0x45CC0001, link_sta, mw_sizes[], spad[128]) A good example of spads and link state emulated in software. Only 2 NT partitions are supported.
Broadcom/PLX PEX NT-Virtual/NT-Link port pairs, BAR translation and LUT Yes Yes No upstream Linux driver. I did not verify the register details (PLX whitepaper [K52]).
ntb_hw_epf / vNTB (software-defined) Command-based MW configuration, one MW per BAR 3–31 doorbells, MSI/MSI-X Spad block inside a BAR, SPAD_OFFSET/COUNT The model closest to our device (§3.4).

Common patterns: 1. For each MW there are outbound "limit + xlat" and inbound "xlat" pairs. Alignment is reported through mw_get_align (xlat_align, size_align, size_max). 2. Doorbells have set/clear/mask registers and a bit group per vector. 3. Spads are split into a local and a peer bank (or kept in shared memory). 4. Link state is in a separate register, and there is an IRQ for link events.


5.1 virtio over NTB / PCIe EP

  • Kishon Vijay Abraham I, "[RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication", 2020-07-02 [K60][K61]. virtio on one side of the NTB, a vhost client on the other ("NTB: Add a new NTB client driver to implement VIRTIO functionality"), and vringh over MMIO. Notification by doorbell. The comments suggested vDPA or the standard virtio bus. Not merged: there is no virtio client under drivers/ntb [K20].
  • LPC 2020, "Virtio based communication between RC<->EP" [K62] (I could not extract the PDF text; contents not verified).
  • Kiszka's ivshmem v2 also aimed at "virtio over shared memory" [K39][K42].

5.2 DPDK NTB rawdev [K48]

  • Supports Intel Xeon (Scalable gen 2–4) and AMD EPYC (Embedded 9004/9005/8004). Sample application ntb_fwd (file-trans, rxonly, txonly, iofwd).
  • Ring design:
  • desc_ring (64-bit address + length), used_ring (length + flags), tx_tail/rx_tail.
  • Remote writes only. Remote reads are avoided because they are expensive.
  • The start and stop handshake goes through spads and doorbells. On AMD it is packed to fit into 8 spads.
  • The BARs need write-combining mappings. A ">10x" difference is reported.
  • Conclusion for emulation: exposing the outbound BAR as mmapable RAM (without MMIO traps) is critical for DPDK and WC behaviour.

5.3 SmartIO and Device Lending

  • Markussen et al., "SmartIO: Zero-overhead Device Sharing through PCIe Networking", ACM TOCS 38(1–2), 2021, DOI 10.1145/3462545 [K54]. Earlier work: "Flexible Device Sharing in PCIe Clusters using Device Lending" (ICPP Workshops 2018) and Device Lending with KVM pass-through.

5.4 Other academic work

  • Huang et al., "An Ultra-Low Latency and Compatible PCIe Interconnect for Rack-Scale Communication" (NTSocks), CoNEXT 2022, DOI 10.1145/3555050.3569128 [K56]. A socket-like user-space layer on top of the DPDK NTB PMD. The slides report ~500 ns one-way latency, and the abstract up to 24.5× lower latency than kernel sockets in a KV store.
  • Tu, "Seamless Fail-over for PCIe Switched Networks", SYSTOR 2018 [K57].
  • "Developing an OpenSHMEM Model Over a Switchless PCIe NTB Interface" (IEEE) and "Shared Memory Model over a Switchless PCIe NTB Interconnect Network" (JIPS) [K58]. I did not verify the authors and years of these references.
  • Allen Hubbe, "NTRDMA v0.1 – An Open Source RDMA Driver for PCIe NTB and DMA" [K50]. SNIA 2015 "PCI Express Non-Transparent Bridging for RDMA" [K59].

6. QEMU upstream requirements

6.1 Process and documents

  • Documents: docs/devel/submitting-a-patch.rst, style.rst, qdev-api.rst, qom.rst, memory.rst, pci.rst, migration/, testing/{qtest,qgraph,functional}.rst, maintainers.rst, secure-coding-practices.rst [K31]. I found no single "how to add a new device" guide. In practice qdev/QOM, Kconfig, meson, docs/system/devices/<dev>.rst, docs/specs/<dev>.rst, qtest and a MAINTAINERS entry are expected. This is inferred from the contents of recently added devices (ivshmem-flat, ufs, the pcie-ep series).
  • PCI ID: the 1b36:00xx range is for QEMU-specific devices. To get an ID, contact Gerd Hoffmann. For experimental use, 1af4:10f0–10ff may be used without registration, but getting an official ID is required "when upstream merge is wanted" [K33].
  • Tests:
  • qtest/qgraph (e.g. tests/qtest/ivshmem-test.c exists; it tests two ivshmem instances with the server) [K31].
  • Functional tests (tests/functional/, Python; a multiprocess test exists as an example).
  • The pcie-ep series also validated with the Linux selftest [K10].
  • Migration: a VMStateDescription is expected. If migration is not supported, an explicit blocker must be added with migrate_add_blocker() (the ivshmem-doorbell master=off example) [K34][K63].
  • Re-entrancy guard: "memory: prevent dma-reentracy issues" (Bulekov, CVE-2023-0330), merged in 2023, blocks a device's DMA from re-entering its own MMIO [K64]. Since the DMA target of ntb_perf use_dma is the local outbound BAR (§3.3), the DMA engine must resolve a target in its own BAR internally and not write to itself with pci_dma_write. Which release it was merged in is not verified.

6.2 How similar devices were received

Device Outcome Lesson
ivshmem (2010) Merged, but got the "steer clear" criticism in 2014. Cleaned up and split in 2016. Today it has no separate MAINTAINERS entry. A maintainer and a spec are a must.
ivshmem v2 (2019–20) Stayed an RFC. The server dependency and a new ivshmem family met reluctance (inference; I saw no formal rejection message).
virtio-vhost-user (2018–20) Not merged. —
VFIO-over-socket → vfio-user client Merged in 2025, "Supported". Corporate maintainers (Nutanix and Red Hat) and a general-purpose protocol.
multi-process QEMU Merged but "Odd Fixes". —
ivshmem-flat (2023–24) Merged. Reused the existing protocol, narrow scope, had a maintainer.
pcie-ep-ctrl (2026-09) Pending. Single process, no server, can be validated with the Linux selftest.

6.3 Realistic assessment

  • For:
  • There is a real testing gap: the NTB subsystem and vNTB are very active in 2026, but there is no way to test without hardware. The Linux NTB maintainers (Jon Mason, Dave Jiang) and the EP side (Sadhasivam, Frank Li) are potential supporters.
  • The existing ivshmem infrastructure (chardev, eventfd, irqfd) can be reused.
  • Against:
  • The ivshmem history.
  • Historical reluctance towards "inter-VM shared memory" devices.
  • The maintenance burden of a protocol between two processes.
  • Migration complexity.
  • An upstream guest driver is a must.

6.4 What would improve the upstream chances

  1. An open spec under docs/specs/, not tied to a chip. Version and feature registers, link and peer state, and error semantics must be defined. This answers Armbruster's "shared memory is not an interface" objection directly [K38].
  2. The Linux driver first must get into linux-ntb, and all clients must pass with ntb_test.sh.
  3. The two QEMUs connect without a server (a UNIX socket chardev, one side the server). No dependency on the existing ivshmem-server.
  4. A qtest with a loopback of two devices in one process (two -devices on the same socket pair), and a functional test with two VMs doing ntb_netdev ping/iperf.
  5. A migration blocker in the first version, vmstate later. Security note: every value from the peer must be bounds-checked.
  6. A MAINTAINERS entry and at least one Reviewed-by (PCI: Michael S. Tsirkin/Marcel Apfelbaum; people interested in ivshmem; Sadhasivam). Who would review is a guess, not verified.

7. Implications for the design (concrete recommendations)

7.1 Register model

  • R1. A model not tied to a chip, but close to the meaning of ntb_hw_epf/vNTB [K26][K25]. A separate control BAR (BAR0) should contain:
  • MAGIC/VERSION/FEATURES (Den's versioned layout approach [K29]).
  • LINK_CTRL/LINK_STATUS and a link event IRQ.
  • MW_COUNT and per MW {BAR, offset, size_max, xlat_align, size_align} (read-only), plus inbound XLAT_LO/HI, XLAT_SIZE and ENABLE.
  • Doorbell: DB_STATUS (W1C), DB_MASK_SET/CLR, PEER_DB_SET, DB_VALID, vector mapping.
  • Spad: a local spad block (RW) and a peer spad block (a write goes to the peer, not to a local copy).
  • Optional msg: 4 registers, IDT-like [K49].
  • Direct registers are preferred over command-based configuration. No polling or timeouts are needed, and the drivers are simpler.
  • R2. Default resources: 2 MWs (one can be reserved for MSI [K21]), 16 spads (same as Intel and AMD, ntb_transport ≥ 6 [K21][K46]), 32 doorbell bits and 32+1 MSI-X vectors (Intel gen3/4 [K46]). The counts should be configurable as properties (spads=, doorbells=, mw0-size= …).
  • R3. Translation semantics:
  • Only inbound translation (mw_set_trans) is mandatory. Linux's "inbound MW based" API requires it [K21].
  • The outbound window shows the whole inbound window of the peer. peer_mw_set_trans is not needed and is optional in ntb.h.
  • Alignment 4 KiB or configurable. Avoid quirks like AMD's "translation by OR" [K48].
  • R4. Do not provide port_number and the peer_*port* ops (a single peer, NTB_TOPO_NONE or a new "virtual" topology). ntb_transport does not support multi-port devices [K21].
  • R5. PCI ID: one from the 1af4:10f0–10ff range during development, 1b36:00xx before upstream [K33]. Real chip IDs (TI, IDT) must not be used.

7.2 Transport between QEMU instances

  • R6. Control plane: a direct UNIX socket chardev between the two QEMUs. One side server=on. A versioned, message-based protocol with a handshake (learning from the gaps in the ivshmem protocol: version negotiation, peer up/down, reconnect [K35]).
  • Messages: HELLO(version, features), LINK(up/down), SPAD_WRITE(idx, val), DB_SET(bits), MSG, MW_MAP(idx, fd, offset, len), MW_UNMAP, DMA requests.
  • For doorbells, an eventfd with ioeventfd/irqfd short-circuiting, as in ivshmem, can be an optional fast path [K34][K35].
  • R7. Data plane, a hybrid approach:
  • (a) Fast path: if guest RAM is memory-backend-memfd/file,share=on, then during mw_set_trans(addr,size) the local QEMU translates the GPA into a RAMBlock and offset and sends (fd, offset, len) to the peer with SCM_RIGHTS. The peer mmaps it and maps it as a RAM MemoryRegion subregion of the outbound BAR. Under KVM there is no VM exit, and WC behaviour comes naturally. This is the vhost-user model [K44]. It is more selective and safer than OSLL's "put all RAM into /dev/shm" approach [K1].
  • (b) Slow but correct path: if RAM cannot be shared, or the target is not RAM (e.g. ntb_msi's MSI address), the outbound BAR is MMIO. Every access goes over the socket and is delivered on the peer side with pci_dma_write() (so the IOMMU, MSI and dirty tracking work correctly) [K21].
  • Which path is used should be selected automatically per MW and be forceable with a property.
  • R8. The security consequence of sharing guest RAM must be documented. The peer must see only the range opened with mw_set_trans (the advantage of R7a over OSLL). Every offset/len from the peer must be bounds-checked [K38].

7.3 DMA engine

  • R9. A simple, descriptor-based DMA_MEMCPY engine (1–4 channels). The Linux driver must register it as a dmaengine provider. For ntb_transport use_dma and ntb_perf use_dma it must pass the NUMA node filter (the channel's dev->node must be the same as the NTB device's) [K21]. The QEMU hw/misc/edu.c DMA can serve as a reference [K31].
  • R10. If the DMA target falls into the local outbound BAR range, the engine must route it directly to the peer (R7a mmap or an R7b message). QEMU's re-entrancy guard blocks DMA to itself [K64].
  • R11. For NTRDMA and Den's "remote DMA" line [K28], a "peer DMA" feature (reading from the remote side) could be considered later. Not needed in the first version.

7.4 Migration

  • R12. In v1, use migrate_add_blocker() (the ivshmem-doorbell precedent [K34]). In v2, carry the device state (spad, db, mask, xlat, link) with vmstate. The peer connection must be re-established on the destination, with the link shown "down" briefly. ntb_transport already tolerates link down/up [K21]. The mapped peer memory of R7a must be obtained again with MW_MAP.

7.5 Linux driver

  • R13. The minimum op set is the mandatory ops from §3.2 + spad + mw_clear_trans + db_vector_count/mask + peer_db_addr (for triggering doorbells by DMA later) + get_dma_dev (if needed). The file layout could be like drivers/ntb/hw/qemu/. ntb_hw_epf (~870 lines) is a good size reference [K26].
  • R14. Implement the ops completely, to avoid the silent-success trap of the ntb_mw_set_trans wrapper [K21].

7.6 Test strategy

  • R15. Layers:
  • QEMU qtest: two devices in one process over a socket pair. Register semantics, doorbell and spad mirroring, xlat (the ivshmem-test.c example) [K31].
  • A functional test with two VMs.
  • In the guest: tools/testing/selftests/ntb/ntb_test.sh, ntb_tool, ntb_pingpong, ntb_perf (with and without DMA), ntb_msi_test, ntb_netdev + iperf3 [K20].
  • Regression on every Linux release (at least LTS + mainline).
  • R16. Report performance targets not against real hardware but by comparing R7a with R7b, and with ivshmem-plain + copying without ntb_netdev. Treat the "0 MB/s" observation in OSLL [K1] as a sign of a bug, not as a bar.

8. Gap analysis (what does not exist yet?)

  1. In upstream QEMU (or a known fork) there is no NTB device that connects two QEMU instances, is not tied to a chip, and has a written specification.
  2. There is no emulation that runs the whole stack (ntb_transport, ntb_netdev, ntb_perf, ntb_msi) unmodified with an upstream Linux driver. OSLL modified the kernel driver and, having no spads, never showed transport/netdev [K1].
  3. There is no NTB emulation with a DMA engine. So the use_dma paths, NTRDMA and DMA-based ntb_perf cannot be tested in a virtual environment.
  4. There is no hardware-free CI for vNTB/ntb_hw_epf. pcie-ep-ctrl targets an EP in a single VM and does not cover NTB or two VMs [K10].
  5. Beyond ivshmem, there is no versioned, reconnectable inter-VM control protocol. ivshmem v2 and virtio-vhost-user were not merged [K39][K42].
  6. There is no inter-VM shared memory device that supports migration. ivshmem carries only one side, with master=on [K34].

9. Open questions

  1. Is there an RFC mentioning "ntb" in the qemu-devel archive between 2010 and 2026? The lore and lists.gnu.org searches failed for technical reasons. Check again in a browser with lore.kernel.org/qemu-devel/?q=ntb and a patchew search.
  2. Has the pcie-ep-ctrl series moved to v2, and what is the maintainers' reaction? Has the Linux pci-ep-generic EPC driver been sent?
  3. If Koichiro Den's MW group and remote DMA series are merged, should our driver support the new group ops? If so, does it make sense to imitate packed MWs on the device side?
  4. How stable is the ntb_transport wire format across Linux releases? Is compatibility with another operating system a goal, or should a separate "qemu-ntb transport" be defined?
  5. For R7a, the GPA to RAMBlock offset mapping on x86 q35 and its interaction with hotplug and balloon. What happens if the RAM region changes after mw_set_trans (virtio-mem)?
  6. Does ntb_msi work over the R7b path with MSI addresses outside x86 (arm64 GICv3 ITS)?
  7. Is cooperation or code sharing with the OSLL team (MIT licence) possible? Is the team still active (last commit 2024-11)?

References

Earlier NTB emulations and EP emulation - [K1] OSLL/ntb-cxl, README and commit history: https://github.com/OSLL/ntb-cxl (last commit 2024-11-12, verified with the GitHub API) - [K2] eltondna/QEMU-NTB: https://github.com/eltondna/QEMU-NTB - [K10] M. Sadhasivam, "[PATCH 0/4] Add PCIe Endpoint emulation for the Linux PCI Endpoint framework", qemu-devel, 2026-09-13: http://www.mail-archive.com/qemu-devel@nongnu.org/msg1225743.html (patches: msg1225742, msg1225746, msg1225747, msg1225748) - [K11] S. Mie, "[RFC] Proposal of QEMU PCI Endpoint test environment", 2023-08: https://lists.gnu.org/archive/html/qemu-devel/2023-08/msg04481.html, https://lore.kernel.org/all/1269bf62-d67f-9f61-0139-dc20d23a9b5e@ti.com/T/, vfio-user suggestion: https://lkml.rescloud.iu.edu/2310.0/02501.html, https://lkml.indiana.edu/hypermail/linux/kernel/2310.0/06400.html - [K12] S. Mie, KVM Forum 2024 slides: https://kvm-forum.qemu.org/2024/KVMForum2024-qemu-epc_zkHMcQv.pdf, programme: https://pretalx.com/kvm-forum-2024/talk/SPEZMB - [K13] "[PATCH v2 0/4] hw/pci-bridge: Configurable apparent bandwidth for the PCIe topology", 2026-09: https://ratatoskr.run/qemu-devel/2026/09/17532317/t - [K14] M. Sadhasivam, LPC 2024 "PCI Endpoint Subsystem Open Items Discussion": https://lpc.events/event/18/contributions/1683/attachments/1461/3102/LPC24%20-%20PCI%20Endpoint%20Subsystem%20Open%20Items%20Discussion.pdf (from a secondary summary, contents not verified)

Linux NTB (primary source: git.kernel.org, mainline 7.4-rc4) - [K20] MAINTAINERS, drivers/ntb/, drivers/ntb/hw/Kconfig, tools/testing/selftests/ntb/: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/ntb - [K21] include/linux/ntb.h, drivers/ntb/ntb_transport.c, drivers/ntb/test/ntb_perf.c, ntb_pingpong.c, drivers/ntb/msi.c: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/ntb.h - [K22] Commit history of drivers/ntb, drivers/net/ntb_netdev.c (GitHub mirror API): https://github.com/torvalds/linux/commits/master/drivers/ntb, https://github.com/torvalds/linux/commits/master/drivers/net/ntb_netdev.c - [K23] Commit history of pci-epf-vntb.c: https://github.com/torvalds/linux/commits/master/drivers/pci/endpoint/functions/pci-epf-vntb.c - [K24] K. V. Abraham I, "Implementing NTB Controller Using PCIe Endpoints", LPC 2019: https://lpc.events/event/4/contributions/395/attachments/284/481/Implementing_NTB_Controller_Using_PCIe_Endpoint_-_final.pdf (contents not read) - [K25] "PCI NTB Endpoint Function (EPF) User Guide" (pci-vntb-howto): https://docs.kernel.org/PCI/endpoint/pci-vntb-howto.html - [K26] drivers/ntb/hw/epf/ntb_hw_epf.c: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/ntb/hw/epf/ntb_hw_epf.c - [K27] K. Den, "[RFC PATCH v4 00/38] NTB transport backed by PCI EP embedded DMA", 2026-01-18: https://ratatoskr.run/netdev/2026/01/3374309/t - [K28] K. Den, "PCI: endpoint: Remote DMA ..." series: https://ratatoskr.run/dmaengine/2026/03/3455963/t, https://ratatoskr.run/lkml/2026/08/17475861/t, https://ratatoskr.run/linux-pci/2026/09/17503281/t (full titles abbreviated, not verified) - [K29] K. Den, "[PATCH 00/11] PCI/NTB: endpoint: packed vNTB memory windows", 2026-08-03: https://ratatoskr.run/linux-pci/2026/08/17359426/t

QEMU (primary source: gitlab.com/qemu-project/qemu, master 2026-11-23) - [K30] QEMU MAINTAINERS: https://gitlab.com/qemu-project/qemu/-/blob/master/MAINTAINERS - [K31] QEMU tree (hw/misc, hw/virtio, docs/devel, docs/system/devices, tests/qtest): https://gitlab.com/qemu-project/qemu/-/tree/master - [K33] docs/specs/pci-ids.rst: https://gitlab.com/qemu-project/qemu/-/blob/master/docs/specs/pci-ids.rst - [K34] docs/system/devices/ivshmem.rst: https://www.qemu.org/docs/master/system/devices/ivshmem.html - [K35] docs/specs/ivshmem-spec.rst: https://gitlab.com/qemu-project/qemu/-/blob/master/docs/specs/ivshmem-spec.rst - [K36] History of hw/misc/ivshmem-pci.c: https://gitlab.com/qemu-project/qemu/-/commits/master/hw/misc/ivshmem-pci.c - [K37] Removal of the old ivshmem (T. Huth, 2018): https://patchew.org/QEMU/1545143539-26253-1-git-send-email-thuth@redhat.com; Armbruster clean-up series (2016): https://lists.gnu.org/archive/html/qemu-devel/2016-02/msg06678.html - [K38] M. Armbruster, "Why I advise against using ivshmem", 2014-06-12: https://lists.gnu.org/archive/html/qemu-devel/2014-06/msg02968.html - [K39] J. Kiszka, ivshmem v2: "Towards an ivshmem 2.0?" https://lore.kernel.org/all/87efzlvuup.fsf@dusky.pond.sub.org/t/; RFC 2019: https://lore.kernel.org/qemu-devel/cover.1573477032.git.jan.kiszka@siemens.com/; RFC v2: https://lore.kernel.org/all/877dx5fcvo.fsf@linaro.org/T/; spec: https://lore.kernel.org/qemu-devel/87pn9xwvwj.fsf@linaro.org/T/; virtio-comment 2020-05: https://www.oasis-open.org/archives/virtio-comment/202005/msg00077.html - [K40] gem5 20.0+ paper (no NTB): https://arxiv.org/pdf/2007.03152 - [K41] Xilinx libsystemctlm-soc PCIe co-sim: https://github.com/Xilinx/libsystemctlm-soc/blob/master/docs/pcie-rtl-bridges/overview.md - [K42] S. Hajnoczi, "Inter-VM device emulation (call on Mon 20th July 2020)": https://lists.nongnu.org/archive/html/qemu-devel/2020-07/msg04934.html - [K43] ivshmem-flat source: https://qemu.googlesource.com/qemu/+/refs/heads/master/hw/misc/ivshmem-flat.c, merge commit e6c33efed3: https://qemu.googlesource.com/qemu/+/e6c33efed3ca8ffbf89f0e1dbeac1a0e32d0f8b7, 2024 discussion: https://lists.gnu.org/archive/html/qemu-devel/2024-04/msg02961.html - [K44] vhost-user SHMEM_MAP discussion, 2026-03: https://www.mail-archive.com/qemu-devel@nongnu.org/msg1174289.html - [K45] vfio-user client v5 (2025-06): https://patchew.org/QEMU/20250625193012.2316242-1-john.levon@nutanix.com; "merged in QEMU 10.1", secondary source (SPDK commit): https://telematik.prakinf.tu-ilmenau.de/gitlab/pub/spdk/-/commit/6368bf4fc804c022aca8610a2da135de9fe740a4 (release not verified) - [K63] docs/devel/migration/main.rst: https://gitlab.com/qemu-project/qemu/-/blob/master/docs/devel/migration/main.rst - [K64] A. Bulekov, "memory: prevent dma-reentracy issues" v9 (2023-04): https://lore.kernel.org/all/20230426161951.2948996-1-alxndr@bu.edu/T/ (release in which it was merged not verified)

Hardware drivers and register models - [K46] Intel: drivers/ntb/hw/intel/ntb_hw_gen1.h, ntb_hw_gen3.h, ntb_hw_gen4.h: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/ntb/hw/intel - [K47] AMD: drivers/ntb/hw/amd/ntb_hw_amd.h: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/ntb/hw/amd - [K48] DPDK NTB Rawdev Driver: https://doc.dpdk.org/guides/rawdevs/ntb.html; ntb_fwd: https://doc.dpdk.org/api/examples_2ntb_2ntb_fwd_8c-example.html - [K49] IDT: drivers/ntb/hw/idt/ntb_hw_idt.{c,h}: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/ntb/hw/idt - [K51] Switchtec: drivers/ntb/hw/mscc/ntb_hw_switchtec.c: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/ntb/hw/mscc; LWN "Switchtec NTB Support": https://lwn.net/Articles/725532/ - [K52] Broadcom/PLX, "Multi-Host System and Intelligent I/O Design with PCI Express": https://docs.broadcom.com/doc/12353427 (contents not read)

Transports and academic work - [K50] NTRDMA (A. Hubbe) talk: https://it-events.com/events/4868/materials/1770; fork: https://github.com/junfengg/ntrdma-ext (canonical repository not verified) - [K54] J. Markussen et al., "SmartIO: Zero-overhead Device Sharing through PCIe Networking", ACM TOCS 2021: https://dl.acm.org/doi/fullHtml/10.1145/3462545 - [K56] Y. Huang et al., NTSocks, CoNEXT 2022: https://doi.org/10.1145/3555050.3569128; slides: https://huangyibo.github.io/files/CoNEXT22-NTSocks-slides.pdf - [K57] W. C.-C. Tu, "Seamless Fail-over for PCIe Switched Networks", SYSTOR 2018: https://www.systor.org/2018/pdf/systor18-23.pdf - [K58] "Developing an OpenSHMEM Model Over a Switchless PCIe NTB Interface": https://ieeexplore.ieee.org/document/8778321/; "Shared Memory Model over a Switchless PCIe NTB Interconnect Network": https://xml.jips-k.org/full-text/view?doi=10.3745%2FJIPS.01.0085 (references not verified) - [K59] SNIA, "PCI Express Non-Transparent Bridging for RDMA" (2015): https://www.snia.org/educational-library/pci-express-non-transparent-bridging-rdma-2015 - [K60] K. V. Abraham I, "[RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication", 2020-07-02: https://lore.kernel.org/kvm/20200702082143.25259-1-kishon@ti.com/; LWN: https://lwn.net/Articles/825094/ - [K61] The linux-ntb copy of the same series: https://groups.google.com/g/linux-ntb/c/NFxXuW3oA34 - [K62] LPC 2020, "Virtio based communication between RC<->EP": https://lpc.events/event/7/contributions/849/attachments/642/1175/Virtio_for_PCIe_RC_EP_NTB.pdf (text could not be extracted, not verified)