Fixes error because of missing autoconf.h when building os11.2 Factory. - bnc#609153 - xm migrate <domain_name> localhost -l fails on Windows VMs 21615-dont-save-xen-heap-pages.patch - Upstream fixes from Jan 21446-iommu-graceful-generic-fail.patch 21453-shadow-avoid-remove-all-after-teardown.patch 21456-compat-hvm-addr-check.patch 21492-x86-pirq-unbind.patch 21526-x86-nehalem-cpuid-mask.patch 21620-x86-signed-domain-irq.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=59
23 lines
901 B
Diff
23 lines
901 B
Diff
# HG changeset patch
|
|
# User Keir Fraser <keir.fraser@citrix.com>
|
|
# Date 1274857778 -3600
|
|
# Node ID a69d09da4917c7b57ceed65224e4bbc389601081
|
|
# Parent 32cdd423d4ebab2b2d03a4501be08438c5dc7050
|
|
compat-guest accessor macros do not need address check for hvm guests.
|
|
|
|
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
|
|
|
|
--- a/xen/include/xen/compat.h
|
|
+++ b/xen/include/xen/compat.h
|
|
@@ -90,8 +90,9 @@
|
|
* Allows use of faster __copy_* functions.
|
|
*/
|
|
#define compat_handle_okay(hnd, nr) \
|
|
+ (paging_mode_external(current->domain) || \
|
|
compat_array_access_ok((void *)(full_ptr_t)(hnd).c, (nr), \
|
|
- sizeof(**(hnd)._))
|
|
+ sizeof(**(hnd)._)))
|
|
|
|
#define __copy_to_compat_offset(hnd, off, ptr, nr) ({ \
|
|
const typeof(*(ptr)) *_s = (ptr); \
|