Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloud-hypervisor/cloud-hypervisor
/ new
Method
new
pci/src/vfio.rs:446–448 ·
view source on GitHub ↗
(device: Arc<VfioDevice>)
Source
from the content-addressed store, hash-verified
444
445
impl VfioDeviceWrapper {
446
fn new(device: Arc<VfioDevice>) -> Self {
447
Self { device }
448
}
449
}
450
451
impl Vfio for VfioDeviceWrapper {
Callers
nothing calls this directly
Calls
9
state_from_id
Function · 0.85
new
Function · 0.85
snapshot_from_id
Function · 0.85
to_state
Method · 0.80
parse_capabilities
Method · 0.80
initialize_legacy_interrupt
Method · 0.80
map
Method · 0.45
set_state
Method · 0.45
reset
Method · 0.45
Tested by
no test coverage detected