Uploaded image for project: 'Stratos'
  1. Stratos
  2. STR-14

Improve VirtIO interfaces implementation for type-1 hypervisors

    XMLWordPrintable

    Details

    • Type: Initiative
    • Status: Open
    • Priority: Undecided
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Rationale

      The Virtio specification has not been written with type-1 hypervisors in mind. Current implementations require Virtio backends to run with full privileges over the system, which is not acceptable in many deployments due to safety and security concerns.

      New specifications from ARM (SCMI and SPCI) can help complement Virtio in areas such as power management. They are a good fit for virtual machines power management.

      Scope

      • Provide a virtual implementation of SCMI and SCPI.
        • On Virtio, run backends without full privileges over the system.
        • using pre-shared memory and memcpys
        • improving the virtio spec and dynamically sharing memory
      • Xen as reference hypervisor, QEMU as reference virtio backends provider

      High Level Deliverables

      • Virtio spec changes for unprivileged backends
        • changes required for pre-shared memory setups
        • enable dynamical sharing of memory between frontends and backends
      • pre-shared memory implementation in Linux, Xen, QEMU
      • dynamically shared memory implementation in Linux, Xen, QEMU
      • virtual and physical SCMI and SCPI implementation in Xen
        • physical SCMI and SCPI support in Xen
        • Xen exposing virtual SCMI and SCPI to virtual machines

      Staffing

      TBD

      Target Platforms

      The following boards were discussed but not decided on:

      • MacchiatoBin board
      • Qualcomm RB5 Platform
      • NXP LX2K board
      • Pine64Pro

      Risks and Assumptions (keep it updated as you learn more)

      Closeout Criteria

      This initiative will end when XXXX is complete.

        Attachments

          Structure

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            anmar.oueja@linaro.org Anmar Oueja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: