On Friday 25 January 2008 15:03:28 Avi Kivity wrote: > Yang, Sheng wrote: > > I think it's OK for there is a judgment in __invvpid() to see if machine > > has the ability(also if it is allowed to using VPID). :) > > Oh right, I missed that. > > We can remove it now since it will only be called if vpid != 0, and that > happens only on vpid enabled machines, no?
Yes. I think we can replace vpid_sync_all() with vpid_sync_vcpu_all(), then there was no reference to vpid_sync_all() now... BTW: vpid_sync_all() can be used after VMX_ON, but just in case... So we may remove it for now. -- Thanks Yang, Sheng ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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