Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for shadow ioeventfd #698

Merged
merged 11 commits into from
Jul 4, 2022
Merged

support for shadow ioeventfd #698

merged 11 commits into from
Jul 4, 2022

Commits on Jun 17, 2022

  1. FIXME support for shadow ioeventfd

    Signed-off-by: Thanos Makatos <[email protected]>
    Change-Id: Iad849c94076ffa5988e034c8bf7ec312d01f095f
    tmakatos committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    af4d138 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. experimental support for shadow ioeventfd

    When an ioeventfd is written to, KVM discards the value since it has no
    memory to write it to, and simply kicks the eventfd. This a problem for
    devices such a NVMe controllers that need the value (e.g. doorbells on
    BAR0). This patch allows the vfio-user server to pass a file descriptor
    that can be mmap'ed and KVM can write the ioeventfd value to this
    _shadow_ memory instead of discarding it. This shadow memory is not
    exposed to the guest.
    
    Signed-off-by: Thanos Makatos <[email protected]>
    Change-Id: Iad849c94076ffa5988e034c8bf7ec312d01f095f
    tmakatos committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    c273dcb View commit details
    Browse the repository at this point in the history
  2. fix broken unit tests

    Signed-off-by: Thanos Makatos <[email protected]>
    Change-Id: Idedbdde5e6315e5ce568cc14d4d6710d8a9af094
    tmakatos committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    0ecdd26 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2022

  1. add unit test

    Signed-off-by: Thanos Makatos <[email protected]>
    tmakatos committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    b26918a View commit details
    Browse the repository at this point in the history
  2. more test fixes

    Signed-off-by: Thanos Makatos <[email protected]>
    tmakatos committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    dcc9638 View commit details
    Browse the repository at this point in the history
  3. don't write to unallocated memory

    Signed-off-by: Thanos Makatos <[email protected]>
    tmakatos committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    d99f321 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. add doc for ioregionfd

    Signed-off-by: Thanos Makatos <[email protected]>
    tmakatos committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    631d1b8 View commit details
    Browse the repository at this point in the history
  2. address John's comments

    tmakatos committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    839934e View commit details
    Browse the repository at this point in the history
  3. disable shadow ioeventfd by default

    Signed-off-by: Thanos Makatos <[email protected]>
    tmakatos committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    54dc674 View commit details
    Browse the repository at this point in the history
  4. fix typo

    Signed-off-by: Thanos Makatos <[email protected]>
    tmakatos committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    146e30c View commit details
    Browse the repository at this point in the history
  5. add patches for other components for shadow ioeventfd

    Signed-off-by: Thanos Makatos <[email protected]>
    tmakatos committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    c270d89 View commit details
    Browse the repository at this point in the history