[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-4.1-testing] tmem: bump pool version to 1 to fix restore issue when tmem enabled
# HG changeset patch # User Zhenzhong Duan <zhenzhong.duan@xxxxxxxxxx> # Date 1348568969 -7200 # Node ID fb0561ba7d9ec9e6f39e8cb5f93596880008dae5 # Parent 0c3286621912623e8fa78b6d27f4f2680662f2ac tmem: bump pool version to 1 to fix restore issue when tmem enabled Restore fails when tmem is enabled both in hypervisor and guest. This is due to spec version mismatch when restoring a pool. Signed-off-by: Zhenzhong Duan <zhenzhong.duan@xxxxxxxxxx> Acked-by: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> xen-unstable changeset: 25929:fee83ac77d8c xen-unstable date: Wed Sep 19 15:38:47 UTC 2012 --- diff -r 0c3286621912 -r fb0561ba7d9e xen/common/tmem.c --- a/xen/common/tmem.c Tue Sep 25 12:28:56 2012 +0200 +++ b/xen/common/tmem.c Tue Sep 25 12:29:29 2012 +0200 @@ -2410,7 +2410,8 @@ static NOINLINE int tmemc_save_subop(int break; rc = (pool->persistent ? TMEM_POOL_PERSIST : 0) | (pool->shared ? TMEM_POOL_SHARED : 0) | - (pool->pageshift << TMEM_POOL_PAGESIZE_SHIFT); + (pool->pageshift << TMEM_POOL_PAGESIZE_SHIFT) | + (TMEM_SPEC_VERSION << TMEM_POOL_VERSION_SHIFT); break; case TMEMC_SAVE_GET_POOL_NPAGES: if ( pool == NULL ) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |