Home
last modified time | relevance | path

Searched refs:kvm_dirty_regs (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dsync_regs_test.c97 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 …]
/openbmc/linux/tools/testing/selftests/kvm/s390x/
H A Dsync_regs_test.c103 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()
H A Dtprot.c234 run->kvm_dirty_regs = KVM_SYNC_CRS; in main()
238 run->kvm_dirty_regs = KVM_SYNC_CRS; in main()
H A Dmemop.c710 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()
/openbmc/qemu/target/s390x/kvm/
H A Dkvm.c489 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 …]
/openbmc/linux/arch/s390/kvm/
H A Dkvm-s390.c4874 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 …]
/openbmc/qemu/linux-headers/linux/
H A Dkvm.h448 __u64 kvm_dirty_regs; member
/openbmc/linux/include/uapi/linux/
H A Dkvm.h529 __u64 kvm_dirty_regs; member
/openbmc/linux/tools/include/uapi/linux/
H A Dkvm.h529 __u64 kvm_dirty_regs; member
/openbmc/linux/arch/x86/kvm/
H A Dx86.c11165 (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()
/openbmc/linux/Documentation/virt/kvm/
H A Dapi.rst6734 * kvm_dirty_regs specified the register classes dirtied by userspace
6736 * bits for kvm_valid_regs and kvm_dirty_regs
6739 __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.