Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloud-hypervisor/cloud-hypervisor
/ clone
Method
clone
vmm/src/device_manager.rs:918–923 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
916
917
impl Clone for PtyPair {
918
fn clone(&self) -> Self {
919
PtyPair {
920
main: self.main.try_clone().unwrap(),
921
path: self.path.clone(),
922
}
923
}
924
}
925
926
#[derive(Clone)]
Callers
15
new
Method · 0.45
console_resize_pipe
Method · 0.45
create_devices
Method · 0.45
create_fw_cfg_device
Method · 0.45
state
Method · 0.45
add_pci_devices
Method · 0.45
add_interrupt_controller
Method · 0.45
add_acpi_devices
Method · 0.45
add_legacy_devices
Method · 0.45
add_debug_console_device
Method · 0.45
add_serial_device
Method · 0.45
add_virtio_console_device
Method · 0.45
Calls
1
try_clone
Method · 0.45
Tested by
no test coverage detected