get_msrs_to_save

Function get_msrs_to_save 

Source
pub fn get_msrs_to_save(kvm_fd: &Kvm) -> Result<MsrList, MsrError>
Expand description

Returns the list of serializable MSR indices.

§Arguments

  • kvm_fd - Ref to kvm_ioctls::Kvm.

§Errors

When:

  • [kvm_ioctls::Kvm::get_msr_index_list()] errors.