diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2012-01-28 13:49:41 +0000 |
---|---|---|
committer | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2012-01-28 13:49:41 +0000 |
commit | eaef0894da4cec61974892502a1f77f2e0585d4d (patch) | |
tree | 97df4e04cd049965460149ef59eb04754a8f3a45 /extras/mini-os/sched.c | |
parent | e60e5c9642a733ac951203e4d349ccb2609c97ef (diff) | |
download | xen-eaef0894da4cec61974892502a1f77f2e0585d4d.tar.gz xen-eaef0894da4cec61974892502a1f77f2e0585d4d.tar.bz2 xen-eaef0894da4cec61974892502a1f77f2e0585d4d.zip |
xen: Preserve reserved grant entries when switching versions
In order for the toolstack to use reserved grant table entries, the
grant table for a guest must be initialized prior to the guest's boot.
When the guest switches grant table versions (necessary if the guest
is using v2 grant tables, or on kexec if switching grant versions),
these initial grants will be cleared. Instead of clearing them,
preserve the grants across the type change.
Attempting to preserve v2-only features such as sub-page grants will
produce a warning and clear the resulting v1 grant entry.
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'extras/mini-os/sched.c')
0 files changed, 0 insertions, 0 deletions