I have a question about xc_translate_foreign_address(). When this call is issued for VCPU1 in a 2 VCPU guest where VCPU1 is in a paused state and VCPU0 is active, there is a possibility that VCPU0 could change the page tables that VCPU1 is using. There is a window where the function could return incorrect information. Is this true or there is something that prevents it from happening? Thanks, AP _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2011-May-25 06:16 UTC
Re: [Xen-devel] Question about xc_translate_foreign_address()
On 25/05/2011 05:47, "AP Xen" <apxeng@gmail.com> wrote:> I have a question about xc_translate_foreign_address(). When this call > is issued for VCPU1 in a 2 VCPU guest where VCPU1 is in a paused state > and VCPU0 is active, there is a possibility that VCPU0 could change > the page tables that VCPU1 is using. There is a window where the > function could return incorrect information. Is this true or there is > something that prevents it from happening?The assumption is that the whole domain is paused. -- Keir> Thanks, > AP > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel