Home
last modified time | relevance | path

Searched refs:guest_state_protected (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/accel/kvm/
H A Dkvm-accel-ops.c82 return !kvm_enabled() || !kvm_state->guest_state_protected; in kvm_cpus_are_resettable()
H A Dkvm-all.c2854 if (!cpu->vcpu_dirty && !kvm_state->guest_state_protected) { in do_kvm_cpu_synchronize_state()
2874 if (!cpu->vcpu_dirty && !kvm_state->guest_state_protected) { in kvm_cpu_synchronize_state()
2921 if (!kvm_state->guest_state_protected) { in kvm_cpu_synchronize_post_init()
4412 kvm_state->guest_state_protected = true; in kvm_mark_guest_state_protected()
/openbmc/qemu/include/sysemu/
H A Dkvm_int.h124 bool guest_state_protected; member
/openbmc/linux/arch/x86/kvm/
H A Dx86.h156 WARN_ON_ONCE(vcpu->arch.guest_state_protected); in is_64_bit_mode()
171 return vcpu->arch.guest_state_protected || is_64_bit_mode(vcpu); in is_64_bit_hypercall()
H A Dx86.c1020 if (vcpu->arch.guest_state_protected) in kvm_load_guest_xsave_state()
1043 if (vcpu->arch.guest_state_protected) in kvm_load_host_xsave_state()
4914 if (!vcpu->arch.guest_state_protected) in kvm_arch_vcpu_put()
11322 if (vcpu->arch.guest_state_protected) in __get_sregs_common()
11357 if (vcpu->arch.guest_state_protected) in __get_sregs()
11371 if (vcpu->arch.guest_state_protected) in __get_sregs2()
11529 if (vcpu->arch.guest_state_protected) in __set_sregs_common()
11622 if (valid_pdptrs && (!pae || vcpu->arch.guest_state_protected)) in __set_sregs2()
11681 if (vcpu->arch.guest_state_protected) in kvm_arch_vcpu_ioctl_set_guest_debug()
12927 if (vcpu->arch.guest_state_protected) in kvm_arch_vcpu_in_kernel()
[all …]
/openbmc/linux/arch/x86/kvm/svm/
H A Dsev.c666 vcpu->arch.guest_state_protected = true; in __sev_launch_update_vmsa()
1771 dst_vcpu->arch.guest_state_protected = true; in sev_migrate_from()
1776 src_vcpu->arch.guest_state_protected = false; in sev_migrate_from()
1792 if (!src_vcpu->arch.guest_state_protected) in sev_check_source_vcpus()
2393 if (vcpu->arch.guest_state_protected) in sev_free_vcpu()
H A Dsvm.c1886 if (!vcpu->arch.guest_state_protected) in svm_set_cr0()
1892 if (!vcpu->arch.guest_state_protected) in svm_set_cr0()
2021 if (svm->vcpu.arch.guest_state_protected) in svm_set_dr6()
2055 if (vcpu->arch.guest_state_protected) in svm_set_dr7()
/openbmc/linux/arch/x86/include/asm/
H A Dkvm_host.h1006 bool guest_state_protected; member