File xs-20-tdb-version.patch of Package xen.11298

commit 9d81162fd2c69b5c9279670c8739d891cf7571da
Author: Jan Beulich <jbeulich@suse.com>
Date:   Tue Jan 10 10:46:59 2017 +0000

    xenstore: bump TDB_VERSION
    
    Commit 9e49dcf67f ("xenstore: add per-node generation counter) changed
    the TDB layout, which - in order to not break older xenstored running
    on the same system - need to be accompanied by a version bump.
    
    Signed-off-by: Jan Beulich <jbeulich@suse.com>
    Acked-by: Juergen Gross <jgross@suse.com>
    Acked-by: Wei Liu <wei.liu2@citrix.com>

Index: xen-4.5.5-testing/tools/xenstore/tdb.c
===================================================================
--- xen-4.5.5-testing.orig/tools/xenstore/tdb.c
+++ xen-4.5.5-testing/tools/xenstore/tdb.c
@@ -55,7 +55,7 @@
 #endif
 
 #define TDB_MAGIC_FOOD "TDB file\n"
-#define TDB_VERSION (0x26011967 + 6)
+#define TDB_VERSION (0x26011967 + 7)
 #define TDB_MAGIC (0x26011999U)
 #define TDB_FREE_MAGIC (~TDB_MAGIC)
 #define TDB_DEAD_MAGIC (0xFEE1DEAD)
openSUSE Build Service is sponsored by