x86 shadow: Relax assertion in VRAM tracking code

The original assertion is too strict, as it includes the A/D bits of
the PTE, which (by design) can change under our feet.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
This commit is contained in:
Keir Fraser committed 2009-11-23 06:43:50 +00:00
1 parent f1fa336b59
commit e2d760b373
1 file changed
+2 -1
+2 -1
View File
@@ -1117,7 +1117,8 @@ static inline void shadow_vram_put_l1e(shadow_l1e_t old_sl1e,
}
else
{
ASSERT(dirty_vram->sl1ma[i] == sl1ma);
ASSERT((dirty_vram->sl1ma[i] & PAGE_MASK)
== (sl1ma & PAGE_MASK));
dirty_vram->sl1ma[i] = INVALID_PADDR;
if ( flags & _PAGE_DIRTY )
dirty = 1;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.