|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Fix stale shared mem key
In xenstore_process_logdirty_event(), if a stale shared memory key
is encountered reset 'seg' to NULL so the shared memory
initialization can be retried later.
Signed-off-by: Ben Guthro <bguthro@xxxxxxxxxxxxxx>
Signed-off-by: Robert Phillips <rphillips@xxxxxxxxxxxxxxx>
diff -r 118a21c66fd5 tools/ioemu/xenstore.c
--- a/tools/ioemu/xenstore.c Mon Oct 22 21:06:11 2007 +0100
+++ b/tools/ioemu/xenstore.c Wed Oct 24 16:24:39 2007 -0400
@@ -318,6 +318,7 @@ void xenstore_process_logdirty_event(voi
if (logdirty_bitmap_size != *(uint32_t *)seg) {
fprintf(logfile, "Log-dirty: got %u, calc %lu\n",
*(uint32_t *)seg, logdirty_bitmap_size);
+ seg = NULL; /* Stale key: wait for next watch */
return;
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Fix stale shared mem key,
Ben Guthro <=
|
|
|
|
|