Searched refs:msrs (Results 1 – 1 of 1) sorted by relevance
918 struct kvm_msrs msrs; member990 state = malloc(sizeof(*state) + nmsrs * sizeof(state->msrs.entries[0])); in vcpu_save_state()1028 state->msrs.nmsrs = nmsrs; in vcpu_save_state()1030 state->msrs.entries[i].index = list->indices[i]; in vcpu_save_state()1031 r = ioctl(vcpu->fd, KVM_GET_MSRS, &state->msrs); in vcpu_save_state()1062 r = ioctl(vcpu->fd, KVM_SET_MSRS, &state->msrs); in vcpu_load_state()1063 … TEST_ASSERT(r == state->msrs.nmsrs, "Unexpected result from KVM_SET_MSRS, r: %i (failed at %x)", in vcpu_load_state()1064 r, r == state->msrs.nmsrs ? -1 : state->msrs.entries[r].index); in vcpu_load_state()