Fix stale shared mem key
PATCH 1/1 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 <[email protected]>
Signed-off-by Robert Phillips <[email protected]>
tools/ioemu/xenstore.c +1 -0
@@ -318,6 +318,7 @@ void xenstore_process_logdirty_event(voiif (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
[email protected]
http://lists.xensource.com/xen-devel