>>> On 14.12.16 at 12:35, <andrew.coop...@citrix.com> wrote: > The assertion about guest paging mode must only apply to guest pagefaults. > > This ASSERT() accidentally also trips if Xen takes a pagefault when in HVM > context, such as a copy_to_user() failure in the shadow pagetable code. > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com> But isn't the other piece the original patch touched in the same function suffering a similar problem? I.e. can't this mis-trigger when dealing with a page fault in Xen while in the context of a HVM guest in log-dirty mode, and hence needs re-adding the !paging_mode_external() check (or alternatively using paging_mode_only_log_dirty() instead of paging_mode_log_dirty())? Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel