summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJanosch Frank <frankja@linux.ibm.com>2019-05-09 13:07:21 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2020-02-27 19:47:12 +0100
commite0d2773d487c2a41c99d9e256d51cc0a859aa9ab (patch)
treee1545dbd59ebc480b19668bd934461091823f1af /include
parentea5c68c39023b76b2dc88043ff76c60f44d4e296 (diff)
downloadlinux-stable-e0d2773d487c2a41c99d9e256d51cc0a859aa9ab.tar.gz
linux-stable-e0d2773d487c2a41c99d9e256d51cc0a859aa9ab.tar.bz2
linux-stable-e0d2773d487c2a41c99d9e256d51cc0a859aa9ab.zip
KVM: s390: protvirt: UV calls in support of diag308 0, 1
diag 308 subcode 0 and 1 require several KVM and Ultravisor interactions. Specific to these "soft" reboots are * The "unshare all" UVC * The "prepare for reset" UVC Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Acked-by: David Hildenbrand <david@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> [borntraeger@de.ibm.com: patch merging, splitting, fixing] Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/kvm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h
index f4cac1c09e97..2c354ba3a610 100644
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@ -1500,6 +1500,8 @@ enum pv_cmd_id {
KVM_PV_SET_SEC_PARMS,
KVM_PV_UNPACK,
KVM_PV_VERIFY,
+ KVM_PV_PREP_RESET,
+ KVM_PV_UNSHARE_ALL,
};
struct kvm_pv_cmd {