800917b5a2
- Update to Xen 4.1.2_rc2 c/s 23152 - bnc#716695 - domUs using tap devices will not start updated multi-xvdp.patch - Upstream patches from Jan 23803-intel-pmu-models.patch 23800-x86_64-guest-addr-range.patch 23795-intel-ich10-quirk.patch 23804-x86-IPI-counts.patch - bnc#706106 - Inconsistent reporting of VM names during migration xend-migration-domname-fix.patch - bnc#712823 - L3:Xen guest does not start reliable when rebooted xend-vcpu-affinity-fix.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=143
24 lines
926 B
Diff
24 lines
926 B
Diff
# HG changeset patch
|
|
# User Keir Fraser <keir@xen.org>
|
|
# Date 1314800089 -3600
|
|
# Node ID 72edc40e2942a3cf0ee8e0d3a330d2e5c2bdfb53
|
|
# Parent ac9aa65050e9abc8f1c12c8603acf3b99e22cddc
|
|
x86-64: Fix off-by-one error in __addr_ok() macro
|
|
|
|
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
|
|
Signed-off-by: Keir Fraser <keir@xen.org>
|
|
|
|
Index: xen-4.1.2-testing/xen/include/asm-x86/x86_64/uaccess.h
|
|
===================================================================
|
|
--- xen-4.1.2-testing.orig/xen/include/asm-x86/x86_64/uaccess.h
|
|
+++ xen-4.1.2-testing/xen/include/asm-x86/x86_64/uaccess.h
|
|
@@ -21,7 +21,7 @@ void free_compat_arg_xlat(struct vcpu *v
|
|
* non-canonical address (and thus fault) before ever reaching VIRT_START.
|
|
*/
|
|
#define __addr_ok(addr) \
|
|
- (((unsigned long)(addr) < (1UL<<48)) || \
|
|
+ (((unsigned long)(addr) < (1UL<<47)) || \
|
|
((unsigned long)(addr) >= HYPERVISOR_VIRT_END))
|
|
|
|
#define access_ok(addr, size) \
|