[CRaC] Turn simengine into shared library

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: P4
    • repo-crac
    • Affects Version/s: repo-crac
    • Component/s: other-libs
    • None

      Right now `simengine` is implemented as an executable, invoked through `libcrexec` that implements the C/R API. Since the programmatic C/R API should be the main interface, any exec API is redundant; let's turn `simengine` into shared (dynamic) library implementing the API on its own.

      The `pauseengine` does not need to exist on its own; this can be only an option `pause=true` for `simengine`. The implementation is Linux only (and it is out of scope to fill in a non-Linux implementation - the `pause` option can be just excluded in non-Linux `libsimengine`).

      We expect to turn `libcrexec` + `criuengine` into `libcriuengine` in a follow up (not as part of this issue).

            Assignee:
            Radim Vansa
            Reporter:
            Radim Vansa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: