KVM: s390: implements the kvm_arch_vcpu_in_kernel()
authorLongpeng(Mike) <[email protected]>
Tue, 8 Aug 2017 04:05:34 +0000 (12:05 +0800)
committerPaolo Bonzini <[email protected]>
Tue, 8 Aug 2017 08:57:43 +0000 (10:57 +0200)
commit0546c63d988d347fc734fc8c624692b30f95f633
tree6d1cb8466a100256015a9177862e73e013ed403c
parentde63ad4cf4973462953c29c363f3cfa7117c2b2d
KVM: s390: implements the kvm_arch_vcpu_in_kernel()

This implements kvm_arch_vcpu_in_kernel() for s390.  DIAG is a privileged
operation, so it cannot be called from problem state (user mode).

Signed-off-by: Longpeng(Mike) <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/s390/kvm/diag.c
arch/s390/kvm/kvm-s390.c