Avi Kivity wrote:
> Zhang, Xiantao wrote:
>> Han, Weidong wrote:
>> 
>>>  #ifdef CONFIG_DMAR
>>>  int intel_iommu_found(void);
>>> diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
>>> index 73b7c52..7a3e1b6 100644 --- a/include/linux/kvm_host.h
>>> +++ b/include/linux/kvm_host.h
>>> @@ -293,6 +293,11 @@ struct kvm_irq_ack_notifier {
>>>     void (*irq_acked)(struct kvm_irq_ack_notifier *kian);  };
>>> 
>>> +struct kvm_vtd_domain {
>>> +   int dev_count;                  /* number of assigned devices */
>>> 
>> 
>> Atomic operations are needed for this field?
>> 
> 
> Probably not, since it is protected by the kvm lock.
Okay, it should have no problem if kvm_lock is acquired before operating
this field :)
Xiantao

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to