]> xenbits.xensource.com Git - xen.git/commit
Grant table: fix a bug when grant copying a previous grant mapped page.
authorWei Liu <wei.liu2@citrix.com>
Thu, 1 Mar 2012 16:37:18 +0000 (16:37 +0000)
committerWei Liu <wei.liu2@citrix.com>
Thu, 1 Mar 2012 16:37:18 +0000 (16:37 +0000)
commite09b7cbbdc5675d5237be5cd46fbcc55ffa64a4d
treec172fb9fbfb0db3763aaf8641ce8d9260afa1d00
parent39eb9768411ef1ff0905297c1cc95fde8d0ee49c
Grant table: fix a bug when grant copying a previous grant mapped page.

In grant table version 2, when we create a non-transitive mapping from
DomU to Dom0, we need to set active entry's trans_domain and
trans_ref.  Otherwise when we grant copy from this previous mapped
ref, preemption count will get messed up.

See changeset 22994:299ed79acecf for more information.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/common/grant_table.c