History

kvm: Allow build-time configuration of KVM device assignment

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.

Alex Williamson committed 13 years ago

Commit 2a5bab11 parent 064d1af10 files · +40 −41Browse files

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

Unified · Split

include/uapi/linux/kvm.h+0−4
@@ -561,9 +561,7 @@ struct kvm_ppc_smmu_info { · 560 unmodified lines
561561 #define KVM_CAP_MP_STATE 14
562562 #define KVM_CAP_COALESCED_MMIO 15
563563 #define KVM_CAP_SYNC_MMU 16 /* Changes to host mmap are reflected in guest */
564−#ifdef __KVM_HAVE_DEVICE_ASSIGNMENT
565564 #define KVM_CAP_DEVICE_ASSIGNMENT 17
566−#endif
567565 #define KVM_CAP_IOMMU 18
568566 #ifdef __KVM_HAVE_MSI
569567 #define KVM_CAP_DEVICE_MSI 20
@@ -581,9 +579,7 @@ struct kvm_ppc_smmu_info { · 11 unmodified lines
581579 #endif
582580 #define KVM_CAP_IRQ_ROUTING 25
583581 #define KVM_CAP_IRQ_INJECT_STATUS 26
584−#ifdef __KVM_HAVE_DEVICE_ASSIGNMENT
585582 #define KVM_CAP_DEVICE_DEASSIGNMENT 27
586−#endif
587583 #ifdef __KVM_HAVE_MSIX
588584 #define KVM_CAP_DEVICE_MSIX 28
589585 #endif

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