On 17/05/18 11:48, Roger Pau Monne wrote:
> The function is supposed to return whether the MTRR and PAT state of
> two CPUs match. Currently this is not properly done because the test
> for the deftype and the enable bits required both the deftype and the
> enable bits to be different, while just one of those fields being
> different can already cause the MTRR states on the vCPU to not match.
> 
> Fix this by changing the AND into an OR instead, so that either the
> deftype or the enabled bits being different will cause the function to
> return mismatching state.
> 
> Signed-off-by: Roger Pau Monné <roger....@citrix.com>

Release-acked-by: Juergen Gross <jgr...@suse.com>


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to