MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / id

Method id

vmm/src/device_manager.rs:941–946  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

939
940impl MetaVirtioDevice {
941 fn id(&self) -> &str {
942 self.pci_common
943 .id
944 .as_deref()
945 .expect("ID should have been assigned before use")
946 }
947}
948
949#[derive(Default)]

Callers 7

move_barMethod · 0.45
add_pci_devicesMethod · 0.45
remove_deviceMethod · 0.45
countersMethod · 0.45
resize_diskMethod · 0.45
snapshotMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected