[PATCH 2/2] KVM: Change to use new APIs for KVM VT-d
Han, Weidong
weidong.han at intel.com
Wed Nov 26 06:04:59 PST 2008
Avi Kivity wrote:
> Han, Weidong wrote:
>> This patch changes to use new APIs for KVM VT-d, and add device
>> deassignment for hotplug.
>>
>> index 44fd7fa..558bc32 100644
>> --- a/include/linux/kvm.h
>> +++ b/include/linux/kvm.h
>> @@ -425,6 +425,8 @@ struct kvm_trace_rec {
>> struct kvm_assigned_pci_dev)
>> #define KVM_ASSIGN_IRQ _IOR(KVMIO, 0x70, \
>> struct kvm_assigned_irq)
>> +#define KVM_DEASSIGN_PCI_DEVICE _IOR(KVMIO, 0x71, \
>> + struct kvm_assigned_pci_dev)
>>
>
> Need to advertise using KVM_CAP_DEVICE_DEASSIGNMENT.
Okay, will add KVM_CAP_DEVICE_DEASSIGNMENT. Thanks.
Regards,
Weidong
More information about the iommu
mailing list