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

Method get_state

vmm/src/vm.rs:3017–3019  ·  view source on GitHub ↗

Get the VM state.

(&self)

Source from the content-addressed store, hash-verified

3015
3016 /// Get the VM state.
3017 pub fn get_state(&self) -> VmState {
3018 self.state
3019 }
3020
3021 /// Gets the actual size of the balloon.
3022 pub fn balloon_size(&self) -> u64 {

Callers 7

do_memory_migrationMethod · 0.80
send_migrationMethod · 0.80
vm_infoMethod · 0.80
vm_send_migrationMethod · 0.80
resumeMethod · 0.80
snapshotMethod · 0.80
coredumpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected