-
Notifications
You must be signed in to change notification settings - Fork 123
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
base: main
Are you sure you want to change the base?
WIP: Add VPCI relay #1349
Conversation
use std::sync::Arc; | ||
use vpci_client::VpciDevice; | ||
|
||
pub struct RelayedVpciDevice(Arc<VpciDevice>); |
There was a problem hiding this comment.
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")?); |
There was a problem hiding this comment.
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?
Relay VPCI interactions through OpenHCL so that we can filter devices and
manipulate configuration space.