[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-iommu
Subject:    [PATCH 2/2] KVM: Change to use new APIs for KVM VT-d
From:       weidong.han () intel ! com (Han, Weidong)
Date:       2008-11-26 14:04:59
Message-ID: 715D42877B251141A38726ABF5CABF2C018BEB5F83 () pdsmsx503 ! ccr ! corp ! intel ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic