Skip to content

ohcldiag: Allow VTL2 accessing host files #1667

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

Closed
wants to merge 1 commit into from

Conversation

romank-msft
Copy link
Contributor

While debugging, maybe you want VTL2 to generate/update/etc a file on the host. Here there is a file-like interface (read, write, flush, seek) over virt sockets implementing that. Seems very easy to use, not limited to streaming only -- seeking is supported.

This is strictly for the experimental purposes & debugging, also shows how to plumb through the RPC layers.

The example reads the vmlinux file from the host file and writes a log message to another host file upon requests issued by ohcldiag-dev.

@romank-msft romank-msft force-pushed the host_file_access branch 4 times, most recently from 9ed9a92 to f0653fd Compare July 9, 2025 17:25
@romank-msft
Copy link
Contributor Author

Served its purpose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant