Skip to content

WIP: Add VPCI relay #1349

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

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Draft

WIP: Add VPCI relay #1349

wants to merge 16 commits into from

Conversation

jstarks
Copy link
Member

@jstarks jstarks commented May 13, 2025

Relay VPCI interactions through OpenHCL so that we can filter devices and
manipulate configuration space.

@jstarks jstarks changed the title Add VPCI relay WIP: Add VPCI relay May 13, 2025
use std::sync::Arc;
use vpci_client::VpciDevice;

pub struct RelayedVpciDevice(Arc<VpciDevice>);
Copy link

@vtikoo vtikoo May 26, 2025

Choose a reason for hiding this comment

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

Seems like this struct and impl is duplicated in openhcl/underhill_core/src/vpci_relay.rs?

.await?;
// TODO: hang onto this guy, wire him up to the inspect graph at least.
vpci_client.detach();
let vpci_device = Arc::new(devices_recv.next().await.context("no device")?);
Copy link

Choose a reason for hiding this comment

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

Could you confirm if this consumes all devices enumerated by VpciClientWorker task?

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