This is the basic framework for the new KVM device supporting the XIVE native exploitation mode. The user interface exposes a new KVM device to be created by QEMU, only available when running on a L0 hypervisor. Support for nested guests is not available yet. The XIVE device reuses the device structure of the XICS-on-XIVE device as they have a lot in common. That could possibly change in the future if the need arise.
Showing the changes to include/uapi/linux (1 of 8 files). Show all
Unified · Split
| @@ -1211,6 +1211,8 @@ enum kvm_device_type { · 1210 unmodified lines | |||
| 1211 | #define KVM_DEV_TYPE_ARM_VGIC_V3 KVM_DEV_TYPE_ARM_VGIC_V3 | 1211 | #define KVM_DEV_TYPE_ARM_VGIC_V3 KVM_DEV_TYPE_ARM_VGIC_V3 |
| 1212 | KVM_DEV_TYPE_ARM_VGIC_ITS, | 1212 | KVM_DEV_TYPE_ARM_VGIC_ITS, |
| 1213 | #define KVM_DEV_TYPE_ARM_VGIC_ITS KVM_DEV_TYPE_ARM_VGIC_ITS | 1213 | #define KVM_DEV_TYPE_ARM_VGIC_ITS KVM_DEV_TYPE_ARM_VGIC_ITS |
| 1214 | KVM_DEV_TYPE_XIVE, | ||
| 1215 | #define KVM_DEV_TYPE_XIVE KVM_DEV_TYPE_XIVE | ||
| 1214 | KVM_DEV_TYPE_MAX, | 1216 | KVM_DEV_TYPE_MAX, |
| 1215 | }; | 1217 | }; |
| 1216 | 1218 | ||