aboutsummaryrefslogtreecommitdiff
path: root/Documentation/virtual/kvm/devices
diff options
context:
space:
mode:
authorGravatar Christian Borntraeger <borntraeger@de.ibm.com> 2017-11-09 10:00:45 +0100
committerGravatar Christian Borntraeger <borntraeger@de.ibm.com> 2017-11-09 16:48:51 +0100
commitda9a1446d248f673a8560ce46251ff620214ab7b (patch)
tree1ad9a5e7c71c4c31536e0a532339ec759a2ad0e8 /Documentation/virtual/kvm/devices
parentKVM: s390: clear_io_irq() requests are not expected for adapter interrupts (diff)
downloadlinux-da9a1446d248f673a8560ce46251ff620214ab7b.tar.gz
linux-da9a1446d248f673a8560ce46251ff620214ab7b.tar.bz2
linux-da9a1446d248f673a8560ce46251ff620214ab7b.zip
KVM: s390: provide a capability for AIS state migration
The AIS capability was introduced in 4.12, while the interface to migrate the state was added in 4.13. Unfortunately it is not possible for userspace to detect the migration capability without creating a flic kvm device. As in QEMU the cpu model detection runs on the "none" machine this will result in cpu model issues regarding the "ais" capability. To get the "ais" capability properly let's add a new KVM capability that tells userspace that AIS states can be migrated. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Acked-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/virtual/kvm/devices')
-rw-r--r--Documentation/virtual/kvm/devices/s390_flic.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/virtual/kvm/devices/s390_flic.txt b/Documentation/virtual/kvm/devices/s390_flic.txt
index 27ad53c7149d..a4e20a090174 100644
--- a/Documentation/virtual/kvm/devices/s390_flic.txt
+++ b/Documentation/virtual/kvm/devices/s390_flic.txt
@@ -151,6 +151,8 @@ struct kvm_s390_ais_all {
to an ISC (MSB0 bit 0 to ISC 0 and so on). The combination of simm bit and
nimm bit presents AIS mode for a ISC.
+ KVM_DEV_FLIC_AISM_ALL is indicated by KVM_CAP_S390_AIS_MIGRATION.
+
Note: The KVM_SET_DEVICE_ATTR/KVM_GET_DEVICE_ATTR device ioctls executed on
FLIC with an unknown group or attribute gives the error code EINVAL (instead of
ENXIO, as specified in the API documentation). It is not possible to conclude