We hope to at some point deprecate KVM legacy device assignment in favor of VFIO-based assignment. Towards that end, allow legacy device assignment to be deconfigured.
Showing the changes to include/uapi/linux (1 of 10 files). Show all
Unified · Split
| @@ -561,9 +561,7 @@ struct kvm_ppc_smmu_info { · 560 unmodified lines | ||
| 561 | 561 | #define KVM_CAP_MP_STATE 14 |
| 562 | 562 | #define KVM_CAP_COALESCED_MMIO 15 |
| 563 | 563 | #define KVM_CAP_SYNC_MMU 16 /* Changes to host mmap are reflected in guest */ |
| 564 | −#ifdef __KVM_HAVE_DEVICE_ASSIGNMENT | |
| 565 | 564 | #define KVM_CAP_DEVICE_ASSIGNMENT 17 |
| 566 | −#endif | |
| 567 | 565 | #define KVM_CAP_IOMMU 18 |
| 568 | 566 | #ifdef __KVM_HAVE_MSI |
| 569 | 567 | #define KVM_CAP_DEVICE_MSI 20 |
| @@ -581,9 +579,7 @@ struct kvm_ppc_smmu_info { · 11 unmodified lines | ||
| 581 | 579 | #endif |
| 582 | 580 | #define KVM_CAP_IRQ_ROUTING 25 |
| 583 | 581 | #define KVM_CAP_IRQ_INJECT_STATUS 26 |
| 584 | −#ifdef __KVM_HAVE_DEVICE_ASSIGNMENT | |
| 585 | 582 | #define KVM_CAP_DEVICE_DEASSIGNMENT 27 |
| 586 | −#endif | |
| 587 | 583 | #ifdef __KVM_HAVE_MSIX |
| 588 | 584 | #define KVM_CAP_DEVICE_MSIX 28 |
| 589 | 585 | #endif |