]> xenbits.xensource.com Git - people/dariof/xen.git/commit
hvm/monitor: fix usage of the control register mask master github/master gitlab/master
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 16 Feb 2018 18:16:23 +0000 (18:16 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 16 Feb 2018 20:16:23 +0000 (20:16 +0000)
commit24470b99c1671dca531c2cf5747eda2f8892ecbc
treeb5f36ac35de7e98d714b90e2a2b391d0df7c9a6d
parent24882b38d640ff5260742bdb1f88bc92b4039392
hvm/monitor: fix usage of the control register mask

Previous usage is not correct and would prevent certain updates from
being notified to the monitor client.

For example if (value ^ old) == (PGE | PSE) and mask == PGE this
update would not be notified.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
xen/arch/x86/hvm/monitor.c