Roel Kluin wrote: > #------------------------------------------------------------------------------# > in function FNAME(page_fault), drivers/kvm/paging_tmpl.h, line 450, (linus' > git) > > I think a check is in place. I am not sure whether this is how it should be > done, nor was the patch below tested. So please review. > -- > The u64 pointer shadow_pte is initialized by the function FNAME(fetch), but > FNAME(fetch) can return NULL, > >
It cannot; if walker->pte is not present we bail out sooner. See the check immediately before the call to FNAME(fetch). The check in FNAME(fetch) is dead code. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel