Add KVM_CAP_S390_HPAGE_2G to signal to userspace that 2G hugepages may be used to back the guest; restrictions apply similar to 1M hugepages. Enable the (for now still ignored) GMAP_FLAG_ALLOW_HPAGE_2G flag for the guest gmap, and propagate / disable it as necessary.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -996,6 +996,7 @@ struct kvm_enable_cap { · 995 unmodified lines | ||
| 996 | 996 | #define KVM_CAP_S390_USER_OPEREXEC 246 |
| 997 | 997 | #define KVM_CAP_S390_KEYOP 247 |
| 998 | 998 | #define KVM_CAP_S390_VSIE_ESAMODE 248 |
| 999 | +#define KVM_CAP_S390_HPAGE_2G 249 | |
| 999 | 1000 | |
| 1000 | 1001 | struct kvm_irq_routing_irqchip { |
| 1001 | 1002 | __u32 irqchip; |