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

CP-39134: add filtering for vTPM API calls #4670

Commits on Apr 6, 2022

  1. CP-39134: xapi-guard: add filtering for VTPM API calls

    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    d754b91 View commit details
    Browse the repository at this point in the history
  2. CP-39134: xapi-guard: do not hardcode rpc function - allow for unit t…

    …esting
    
    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    ba27bb0 View commit details
    Browse the repository at this point in the history
  3. CP-39134: xapi-guard: separate code into own library for testability

    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    229036a View commit details
    Browse the repository at this point in the history
  4. CP-39134: basic unit test for xapi-guard

    Check that basic API calls get forwarded
    
    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    01b69e5 View commit details
    Browse the repository at this point in the history
  5. CP-39134: xapi-guard: add unit tests for bad values

    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    fd49aa5 View commit details
    Browse the repository at this point in the history
  6. CP-39134: varstore-guard: use inotify to wait for the apperance of th…

    …e socket
    
    This is the socket created by xapi-guard itself through Conduit,
    but Conduit doesn't currently have an API to notify us when the socket
    got created and listen()-ed on.
    And we don't want to return too early to our caller
    (the unit test or xenopsd) since they may get an ECONNREFUSED if they
    try to connect too early.
    
    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    9d12dcd View commit details
    Browse the repository at this point in the history
  7. Maintenance: xapi-guard: use Lwt.Syntax instead of Lwt.Infix

    Instead of `foo () >>= fun result -> ...` use `let* result = foo () in ...`.
    Instead of `foo () >|= fun result -> ...` use `let+ result = foo () in ...`.
    
    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    561caf4 View commit details
    Browse the repository at this point in the history
  8. CP-39134: add shutdown unit test

    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    f1c07f8 View commit details
    Browse the repository at this point in the history
  9. CP-39134: quality gate fixups

    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    18ff14b View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. Add fd leak test

    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    fd67a69 View commit details
    Browse the repository at this point in the history
  2. Avoid leak in wait_connectable

    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    6d4a668 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. Configuration menu
    Copy the full SHA
    3878637 View commit details
    Browse the repository at this point in the history