On 2017年10月19日 16:47, Roger Pau Monné wrote: > For all platforms supporting HVM, for PV I don't think it makes sense. > Since AFAIK ARM guest type is also HVM I would rather introduce this > field in the hvm_domain structure rather than the generic domain > structure. >
This sounds reasonable. > You might want to wait for feedback from others regarding this issue. > I discussed with Julien before. He hoped no to add viommu code for ARM first.So struct hvm_domain seems to be better place since it's arch specific definition and only add struct viommu for struct hvm_domain of x86. -- Best regards Tianyu Lan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel