* [PATCH] Fix stale shared mem key
@ 2007-10-24 21:00 Ben Guthro
0 siblings, 0 replies; only message in thread
From: Ben Guthro @ 2007-10-24 21:00 UTC (permalink / raw)
To: xen-devel, Robert Phillips
[-- Attachment #1: Type: text/plain, Size: 272 bytes --]
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@virtualron.com>
Signed-off-by: Robert Phillips <rphillips@virtualiron.com>
[-- Attachment #2: lm-qemu-xs.patch --]
[-- Type: text/x-patch, Size: 505 bytes --]
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;
}
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-24 21:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24 21:00 [PATCH] Fix stale shared mem key Ben Guthro
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.