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

Method get_config

vmm/src/vm.rs:3012–3014  ·  view source on GitHub ↗

Gets a thread-safe reference counted pointer to the VM configuration.

(&self)

Source from the content-addressed store, hash-verified

3010
3011 /// Gets a thread-safe reference counted pointer to the VM configuration.
3012 pub fn get_config(&self) -> Arc<Mutex<VmConfig>> {
3013 Arc::clone(&self.config)
3014 }
3015
3016 /// Get the VM state.
3017 pub fn get_state(&self) -> VmState {

Callers 5

send_migrationMethod · 0.45
vm_rebootMethod · 0.45
read_configMethod · 0.45
newMethod · 0.45
read_configMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected