|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix grant-table initialisation so that do
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1171628013 0
# Node ID eecd0361df4a750d313282e4506a06bd97cf8564
# Parent c4ed5b740a8db26a54425cdd252527aef4a9d234
Fix grant-table initialisation so that domain destruction does not barf.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
xen/common/grant_table.c | 1 +
1 files changed, 1 insertion(+)
diff -r c4ed5b740a8d -r eecd0361df4a xen/common/grant_table.c
--- a/xen/common/grant_table.c Fri Feb 16 11:24:10 2007 +0000
+++ b/xen/common/grant_table.c Fri Feb 16 12:13:33 2007 +0000
@@ -1329,6 +1329,7 @@ grant_table_create(
memset(t->maptrack, 0, max_nr_maptrack_frames() * sizeof(t->maptrack[0]));
if ( (t->maptrack[0] = alloc_xenheap_page()) == NULL )
goto no_mem_3;
+ memset(t->maptrack[0], 0, PAGE_SIZE);
t->maptrack_limit = PAGE_SIZE / sizeof(struct grant_mapping);
for ( i = 0; i < t->maptrack_limit; i++ )
t->maptrack[0][i].ref = i+1;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Fix grant-table initialisation so that domain destruction does not barf.,
Xen patchbot-unstable <=
|
|
|
|
|