diff options
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | 2014-10-09 09:01:38 -0400 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-01-23 07:25:36 -0500 |
commit | 9fbd80828cef1b1bba5a293609a021047bb86a7e (patch) | |
tree | ec495e61c2574c9bb76c21840a9c15b50ddec018 /arch/s390/include/asm | |
parent | ea5f496925755bc5e13adbdcfcb841bc2848913b (diff) |
KVM: s390: clear the pfault queue if user space sets the invalid token
We need a way to clear the async pfault queue from user space (e.g.
for resets and SIGP SET ARCHITECTURE).
This patch simply clears the queue as soon as user space sets the
invalid pfault token. The definition of the invalid token is moved
to uapi.
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm')
-rw-r--r-- | arch/s390/include/asm/kvm_host.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h index 4de479e47f71..b6170520380b 100644 --- a/arch/s390/include/asm/kvm_host.h +++ b/arch/s390/include/asm/kvm_host.h | |||
@@ -469,7 +469,6 @@ struct kvm_vcpu_arch { | |||
469 | }; | 469 | }; |
470 | struct gmap *gmap; | 470 | struct gmap *gmap; |
471 | struct kvm_guestdbg_info_arch guestdbg; | 471 | struct kvm_guestdbg_info_arch guestdbg; |
472 | #define KVM_S390_PFAULT_TOKEN_INVALID (-1UL) | ||
473 | unsigned long pfault_token; | 472 | unsigned long pfault_token; |
474 | unsigned long pfault_select; | 473 | unsigned long pfault_select; |
475 | unsigned long pfault_compare; | 474 | unsigned long pfault_compare; |