Skip to content

Add support for OCP protocol#20

Draft
n-ramacciotti wants to merge 4 commits into
coconut-svsm:svsmfrom
n-ramacciotti:ocp_module
Draft

Add support for OCP protocol#20
n-ramacciotti wants to merge 4 commits into
coconut-svsm:svsmfrom
n-ramacciotti:ocp_module

Conversation

@n-ramacciotti

@n-ramacciotti n-ramacciotti commented Jun 24, 2026

Copy link
Copy Markdown

RFC PR for observability and configuration protocol

This is the linux-side handler.

It is still a work in progress. For now it is only used to test SVSM_OCP_LIST request.

This contains a [test] commit with a module that can be loaded and will do a single call to SVSM_OCP_LIST during initialization. The parameter of this call can be changed based on a configuration parameter that can be specified when inserting the module. This can be inserted and removed multiple times.

see PR coconut-svsm/svsm#1138

Add the calls defined in the draft spec.

Signed-off-by: Nicola Ramacciotti <niko.ramak@gmail.com>
Add and export a utitily functions to interact with svsm in ocp protocol

Signed-off-by: Nicola Ramacciotti <niko.ramak@gmail.com>
@n-ramacciotti

Copy link
Copy Markdown
Author

v2:

  • Introduced support for read and write
  • Introduced testing for write operation

Add a minimal driver for svsm ocp protocol.

Signed-off-by: Nicola Ramacciotti <niko.ramak@gmail.com>
@n-ramacciotti n-ramacciotti force-pushed the ocp_module branch 7 times, most recently from 641d803 to 7c5394b Compare July 8, 2026 11:21
Test some configurations that will print the entries or not of
OCP source entries defined in SVSM.

use a parameter when inserting the module to test different scenarios

Signed-off-by: Nicola Ramacciotti <niko.ramak@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant