diff options
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r-- | arch/powerpc/include/asm/kvm_book3s_asm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_book3s_asm.h b/arch/powerpc/include/asm/kvm_book3s_asm.h index 1f2f5b6156bd..88609b23b775 100644 --- a/arch/powerpc/include/asm/kvm_book3s_asm.h +++ b/arch/powerpc/include/asm/kvm_book3s_asm.h | |||
@@ -79,6 +79,9 @@ struct kvmppc_host_state { | |||
79 | u8 napping; | 79 | u8 napping; |
80 | 80 | ||
81 | #ifdef CONFIG_KVM_BOOK3S_64_HV | 81 | #ifdef CONFIG_KVM_BOOK3S_64_HV |
82 | u8 hwthread_req; | ||
83 | u8 hwthread_state; | ||
84 | |||
82 | struct kvm_vcpu *kvm_vcpu; | 85 | struct kvm_vcpu *kvm_vcpu; |
83 | struct kvmppc_vcore *kvm_vcore; | 86 | struct kvmppc_vcore *kvm_vcore; |
84 | unsigned long xics_phys; | 87 | unsigned long xics_phys; |
@@ -122,4 +125,9 @@ struct kvmppc_book3s_shadow_vcpu { | |||
122 | 125 | ||
123 | #endif /*__ASSEMBLY__ */ | 126 | #endif /*__ASSEMBLY__ */ |
124 | 127 | ||
128 | /* Values for kvm_state */ | ||
129 | #define KVM_HWTHREAD_IN_KERNEL 0 | ||
130 | #define KVM_HWTHREAD_IN_NAP 1 | ||
131 | #define KVM_HWTHREAD_IN_KVM 2 | ||
132 | |||
125 | #endif /* __ASM_KVM_BOOK3S_ASM_H__ */ | 133 | #endif /* __ASM_KVM_BOOK3S_ASM_H__ */ |