diff options
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r-- | include/linux/kvm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index dd48225d1824..0d94b274c3ae 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h | |||
@@ -406,6 +406,9 @@ struct kvm_trace_rec { | |||
406 | #define KVM_CAP_IRQ_ROUTING 25 | 406 | #define KVM_CAP_IRQ_ROUTING 25 |
407 | #endif | 407 | #endif |
408 | #define KVM_CAP_IRQ_INJECT_STATUS 26 | 408 | #define KVM_CAP_IRQ_INJECT_STATUS 26 |
409 | #ifdef __KVM_HAVE_DEVICE_ASSIGNMENT | ||
410 | #define KVM_CAP_DEVICE_DEASSIGNMENT 27 | ||
411 | #endif | ||
409 | 412 | ||
410 | #ifdef KVM_CAP_IRQ_ROUTING | 413 | #ifdef KVM_CAP_IRQ_ROUTING |
411 | 414 | ||
@@ -480,6 +483,8 @@ struct kvm_irq_routing { | |||
480 | #define KVM_ASSIGN_IRQ _IOR(KVMIO, 0x70, \ | 483 | #define KVM_ASSIGN_IRQ _IOR(KVMIO, 0x70, \ |
481 | struct kvm_assigned_irq) | 484 | struct kvm_assigned_irq) |
482 | #define KVM_REINJECT_CONTROL _IO(KVMIO, 0x71) | 485 | #define KVM_REINJECT_CONTROL _IO(KVMIO, 0x71) |
486 | #define KVM_DEASSIGN_PCI_DEVICE _IOR(KVMIO, 0x72, \ | ||
487 | struct kvm_assigned_pci_dev) | ||
483 | 488 | ||
484 | /* | 489 | /* |
485 | * ioctls for vcpu fds | 490 | * ioctls for vcpu fds |