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

Add hypercall-based PCI CAM and transport for x86-64 pKVM. #164

Merged
merged 10 commits into from
Jan 31, 2025
Merged

Conversation

qwandor
Copy link
Collaborator

@qwandor qwandor commented Oct 29, 2024

VMs running under pKVM on x86-64 cannot do MMIO, so a hypercall based transport is provided instead.

Base automatically changed from pciroot to master November 21, 2024 16:45
@qwandor qwandor force-pushed the pkvm branch 5 times, most recently from a40ff9b to eda68e0 Compare November 26, 2024 17:50
@qwandor qwandor changed the base branch from master to transport November 26, 2024 17:50
@qwandor qwandor force-pushed the pkvm branch 4 times, most recently from 9942721 to 81a325f Compare November 26, 2024 18:39
Base automatically changed from transport to master November 26, 2024 19:38
@qwandor qwandor force-pushed the pkvm branch 3 times, most recently from 630eabd to 3d2cc18 Compare November 28, 2024 14:12
@qwandor qwandor changed the base branch from master to configspace November 28, 2024 14:12
Base automatically changed from configspace to master December 4, 2024 08:59
@qwandor qwandor force-pushed the pkvm branch 2 times, most recently from 9168099 to 38f3e51 Compare December 6, 2024 15:39
@qwandor qwandor marked this pull request as ready for review January 29, 2025 16:44
@qwandor qwandor changed the title Add hypercall-based PCI CAM for x86-64 pKVM. Add hypercall-based PCI CAM and transport for x86-64 pKVM. Jan 29, 2025
Copy link
Contributor

@jaszczyk-grzegorz jaszczyk-grzegorz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and thanks for preparing this PR!

@@ -0,0 +1,124 @@
//! x86-64 specific transports.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: maybe "hypercall based, x86-64 specific transport"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was expecting that other x86-64 specific transports could also go in this module in future, for example if we have a PCI CAM using x86 IO ports.

@qwandor qwandor merged commit c620d59 into master Jan 31, 2025
6 checks passed
@qwandor qwandor deleted the pkvm branch January 31, 2025 16:24
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.

2 participants