|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] question about ept_set_entry
>>> On 29.04.16 at 11:14, <zhangcy@xxxxxxxxxxxxxx> wrote:
> hi all
>
> in
> - p2m-ept.c
> - ept_set_entry
>
> i see code about iommu,
> those code for what?
For keeping the IOMMU translation tables in sync with the CPU ones?
But perhaps I'm simply not understanding what you try to get at...
Jan
> -----
>
> if ( rc == 0 && p2m_is_hostp2m(p2m) && need_iommu(d) &&
> need_modify_vtd_table )
> {
> if ( iommu_hap_pt_share )
> iommu_pte_flush(d, gfn, &ept_entry->epte, order, vtd_pte_present);
> else
> {
> if ( iommu_flags )
> for ( i = 0; i < (1 << order); i++ )
> iommu_map_page(d, gfn + i, mfn_x(mfn) + i, iommu_flags);
> else
> for ( i = 0; i < (1 << order); i++ )
> iommu_unmap_page(d, gfn + i);
> }
> }
>
>
> --------------
> --------------
> A new email address of FJWAN is launched from Apr.1 2007.
> The updated address is: zhangcy@xxxxxxxxxxxxxx
> --------------------------------------------------
> Zhang Chunyu
> Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
> No. 6 Wenzhu Road, Nanjing, 210012, China
> TEL:+86+25-86630566-9566
> FUJITSU INTERNAL:7998-9566
> FAX:+86+25-83317685
> EMail:zhangcy@xxxxxxxxxxxxxx
> --------------------------------------------------
> This communication is for use by the intended recipient(s) only and may
> contain information that is privileged, confidential and exempt from
> disclosure under applicable law. If you are not an intended recipient of this
> communication, you are hereby notified that any dissemination, distribution
> or copying hereof is strictly prohibited. If you have received this
> communication in error, please notify me by reply e-mail, permanently delete
> this communication from your system, and destroy any hard copies you may have
> printed.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |