Searched refs:kvm_dirty_regs (Results 1 – 11 of 11) sorted by relevance
97 WRITE_ONCE(run->kvm_dirty_regs, KVM_SYNC_X86_EVENTS); in race_events_inj_pen()118 WRITE_ONCE(run->kvm_dirty_regs, KVM_SYNC_X86_EVENTS); in race_events_exc()142 WRITE_ONCE(run->kvm_dirty_regs, KVM_SYNC_X86_SREGS); in race_sregs_cr4()245 run->kvm_dirty_regs = INVALID_SYNC_FIELD; in main()250 run->kvm_dirty_regs = 0; in main()252 run->kvm_dirty_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main()257 run->kvm_dirty_regs = 0; in main()280 run->kvm_dirty_regs = KVM_SYNC_X86_REGS | KVM_SYNC_X86_SREGS; in main()303 run->kvm_dirty_regs = 0; in main()316 run->kvm_dirty_regs = 0; in main()[all …]
103 run->kvm_dirty_regs = INVALID_SYNC_FIELD; in test_set_invalid()108 run->kvm_dirty_regs = 0; in test_set_invalid()110 run->kvm_dirty_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in test_set_invalid()115 run->kvm_dirty_regs = 0; in test_set_invalid()156 run->kvm_dirty_regs = KVM_SYNC_GPRS | KVM_SYNC_ACRS; in test_set_and_verify_various_reg_values()160 run->kvm_dirty_regs |= KVM_SYNC_DIAG318; in test_set_and_verify_various_reg_values()192 run->kvm_dirty_regs = 0; in test_clear_kvm_dirty_regs_bits()
234 run->kvm_dirty_regs = KVM_SYNC_CRS; in main()238 run->kvm_dirty_regs = KVM_SYNC_CRS; in main()
710 t.run->kvm_dirty_regs = KVM_SYNC_CRS; in test_copy_key_storage_prot_override()821 t.run->kvm_dirty_regs = KVM_SYNC_CRS; in test_errors_key_storage_prot_override()865 t.run->kvm_dirty_regs = KVM_SYNC_CRS; in test_copy_key_fetch_prot_override()924 t.run->kvm_dirty_regs = KVM_SYNC_CRS; in test_errors_key_fetch_prot_override_enabled()
489 cs->kvm_run->kvm_dirty_regs |= KVM_SYNC_GPRS; in kvm_arch_put_registers()497 cs->kvm_run->kvm_dirty_regs |= KVM_SYNC_VRS; in kvm_arch_put_registers()503 cs->kvm_run->kvm_dirty_regs |= KVM_SYNC_FPRS; in kvm_arch_put_registers()537 cs->kvm_run->kvm_dirty_regs |= KVM_SYNC_ARCH0; in kvm_arch_put_registers()553 cs->kvm_run->kvm_dirty_regs |= KVM_SYNC_RICCB; in kvm_arch_put_registers()561 cs->kvm_run->kvm_dirty_regs |= KVM_SYNC_PFAULT; in kvm_arch_put_registers()579 cs->kvm_run->kvm_dirty_regs |= KVM_SYNC_GSCB; in kvm_arch_put_registers()584 cs->kvm_run->kvm_dirty_regs |= KVM_SYNC_BPBC; in kvm_arch_put_registers()590 cs->kvm_run->kvm_dirty_regs |= KVM_SYNC_ETOKEN; in kvm_arch_put_registers()595 cs->kvm_run->kvm_dirty_regs |= KVM_SYNC_DIAG318; in kvm_arch_put_registers()[all …]
4874 if (kvm_run->kvm_dirty_regs & KVM_SYNC_ARCH0) { in sync_regs_fmt2()4879 if (kvm_run->kvm_dirty_regs & KVM_SYNC_PFAULT) { in sync_regs_fmt2()4886 if (kvm_run->kvm_dirty_regs & KVM_SYNC_DIAG318) { in sync_regs_fmt2()4895 if ((kvm_run->kvm_dirty_regs & KVM_SYNC_RICCB) && in sync_regs_fmt2()4906 if ((kvm_run->kvm_dirty_regs & KVM_SYNC_GSCB) && in sync_regs_fmt2()4915 if ((kvm_run->kvm_dirty_regs & KVM_SYNC_BPBC) && in sync_regs_fmt2()4941 if (kvm_run->kvm_dirty_regs & KVM_SYNC_PREFIX) in sync_regs()4943 if (kvm_run->kvm_dirty_regs & KVM_SYNC_CRS) { in sync_regs()4948 if (kvm_run->kvm_dirty_regs & KVM_SYNC_ARCH0) { in sync_regs()4985 kvm_run->kvm_dirty_regs = 0; in sync_regs()[all …]
448 __u64 kvm_dirty_regs; member
529 __u64 kvm_dirty_regs; member
11165 (kvm_run->kvm_dirty_regs & ~KVM_SYNC_X86_VALID_FIELDS)) { in kvm_arch_vcpu_ioctl_run()11170 if (kvm_run->kvm_dirty_regs) { in kvm_arch_vcpu_ioctl_run()11824 if (vcpu->run->kvm_dirty_regs & KVM_SYNC_X86_REGS) { in sync_regs()11826 vcpu->run->kvm_dirty_regs &= ~KVM_SYNC_X86_REGS; in sync_regs()11829 if (vcpu->run->kvm_dirty_regs & KVM_SYNC_X86_SREGS) { in sync_regs()11835 vcpu->run->kvm_dirty_regs &= ~KVM_SYNC_X86_SREGS; in sync_regs()11838 if (vcpu->run->kvm_dirty_regs & KVM_SYNC_X86_EVENTS) { in sync_regs()11844 vcpu->run->kvm_dirty_regs &= ~KVM_SYNC_X86_EVENTS; in sync_regs()
6734 * kvm_dirty_regs specified the register classes dirtied by userspace6736 * bits for kvm_valid_regs and kvm_dirty_regs6739 __u64 kvm_dirty_regs;6755 values in kvm_run even if the corresponding bit in kvm_dirty_regs is not set.6992 the vCPU, the all architecture bitarray field, 'kvm_dirty_regs' must be set.7888 run->kvm_valid_regs or run->kvm_dirty_regs bits.