summaryrefslogtreecommitdiff
path: root/system/xen/patches
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2016-09-09 17:32:49 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-11 08:53:21 +0700
commit2950e4fd85dfa97149c179636ae27b664d9c3157 (patch)
tree63d67d6c6055f01d052abfb695519734377ea6e8 /system/xen/patches
parent6f7d252327e4559f12c7cc6ec6f6d40a110cee00 (diff)
downloadslackbuilds-2950e4fd85dfa97149c179636ae27b664d9c3157.tar.gz
system/xen: Updated for version 4.7.0.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'system/xen/patches')
-rw-r--r--system/xen/patches/xen-4.7-regression-when-saving-a-pv-guest.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/xen/patches/xen-4.7-regression-when-saving-a-pv-guest.patch b/system/xen/patches/xen-4.7-regression-when-saving-a-pv-guest.patch
new file mode 100644
index 0000000000..457fa51f23
--- /dev/null
+++ b/system/xen/patches/xen-4.7-regression-when-saving-a-pv-guest.patch
@@ -0,0 +1,12 @@
+diff --git a/tools/libxc/xc_sr_save_x86_pv.c b/tools/libxc/xc_sr_save_x86_pv.c
+index 4a29460..7043409 100644
+--- a/tools/libxc/xc_sr_save_x86_pv.c
++++ b/tools/libxc/xc_sr_save_x86_pv.c
+@@ -430,6 +430,8 @@ static int map_p2m_list(struct xc_sr_context *ctx, uint64_t p2m_cr3)
+
+ if ( level == 2 )
+ {
++ if ( saved_idx == idx_end )
++ saved_idx++;
+ max_pfn = ((xen_pfn_t)saved_idx << 9) * fpp - 1;
+ if ( max_pfn < ctx->x86_pv.max_pfn )