CVSROOT:        /cvs
Module name:    src
Changes by:     mi...@cvs.openbsd.org   2016/04/28 10:40:10

Modified files:
        sys/dev/pv     : xen.c 

Log message:
Preserve the domid when swapping 16 bit grant table entry flags

We use an atomic CMPXCHG on first 32 bits of the grant table entry
when revoking access to the memory page.  Target domain ID field is
part of these 32 bits, thus shouldn't be masked out for comparison.
This appears to be the last piece of the QubesOS VM chaining puzzle;
tested by Marco Peereboom, thanks!

Reply via email to