How to create out-of-tree QEMU devices?

前端 未结 3 917
离开以前
离开以前 2020-12-11 19:15

Two possible mechanisms come to mind:

  • IPC like the existing QMP and QAPI
  • QEMU loads a shared library plugin that contains the model

Req

3条回答
  •  粉色の甜心
    2020-12-11 19:34

    There is at least one fork of QEMU I'm aware of that offers shared library plugins for QEMU... but it's a fork of QEMU 4.0.

    https://github.com/cromulencellc/qemu-shoggoth

    It is possible to build out of tree plugins with this fork, though it's not documented.

提交回复
热议问题