pub fn vcpu_config(&self) -> VcpuConfig {
        // The unwraps are ok to use because the values are initialized using defaults if not
        // supplied by the user.
        VcpuConfig {
            vcpu_count: self.vm_config().vcpu_count,
            smt: self.vm_config().smt,
            cpu_template: self.vm_config().cpu_template,
        }
    }
/// Returns a VcpuConfig based on the vm config.
Returns a VcpuConfig based on the vm config.
Returns a VcpuConfig based on the vm config .
pub fn vcpu_config(&self) -> VcpuConfig {
        // The unwraps are ok to use because the values are initialized using defaults if not
        // supplied by the user.
        VcpuConfig {
            vcpu_count: self.vm_config().vcpu_count,
            smt: self.vm_config().smt,
            cpu_template: self.vm_config().cpu_template,
        }
    }
pub fn vcpu_config ( & self ) -> VcpuConfig { // The unwraps are ok to use because the values are initialized using defaults if not // supplied by the user. VcpuConfig { vcpu_count : self . vm_config ( ) . vcpu_count , smt : self . vm_config ( ) . smt , cpu_template : self . vm_config ( ) . cpu_template , } }
Returns a VcpuConfig based on the vm config.
Returns a VcpuConfig based on the vm config .
&self
&self