xref: /linux/arch/x86/kvm/vmx/run_flags.h (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1bb066506SJosh Poimboeuf /* SPDX-License-Identifier: GPL-2.0 */
2bb066506SJosh Poimboeuf #ifndef __KVM_X86_VMX_RUN_FLAGS_H
3bb066506SJosh Poimboeuf #define __KVM_X86_VMX_RUN_FLAGS_H
4bb066506SJosh Poimboeuf 
5*706a189dSSean Christopherson #define VMX_RUN_VMRESUME_SHIFT		0
6*706a189dSSean Christopherson #define VMX_RUN_SAVE_SPEC_CTRL_SHIFT	1
7*706a189dSSean Christopherson 
8*706a189dSSean Christopherson #define VMX_RUN_VMRESUME		BIT(VMX_RUN_VMRESUME_SHIFT)
9*706a189dSSean Christopherson #define VMX_RUN_SAVE_SPEC_CTRL		BIT(VMX_RUN_SAVE_SPEC_CTRL_SHIFT)
10bb066506SJosh Poimboeuf 
11bb066506SJosh Poimboeuf #endif /* __KVM_X86_VMX_RUN_FLAGS_H */
12