History

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.

Christian Borntraeger committed 9 years ago

Commit da9a1441 parent 4dd6f174 files · +13 −0Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/kvm.h+1−0
@@ -930,6 +930,7 @@ struct kvm_ppc_resize_hpt { · 929 unmodified lines
930930 #define KVM_CAP_PPC_SMT_POSSIBLE 147
931931 #define KVM_CAP_HYPERV_SYNIC2 148
932932 #define KVM_CAP_HYPERV_VP_INDEX 149
933+#define KVM_CAP_S390_AIS_MIGRATION 150
933934
934935 #ifdef KVM_CAP_IRQ_ROUTING
935936

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t