[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Remove over-zealous assertion.



# HG changeset patch
# User Steven Hand <steven@xxxxxxxxxxxxx>
# Date 1183474156 -3600
# Node ID 0528bc25c4042188bf25f5f0c365f7849d63a684
# Parent  b8e8061c5a9862d11f95e717c12c451182a0dc76
Remove over-zealous assertion.

Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>
---
 xen/include/asm-x86/regs.h |    5 -----
 1 files changed, 5 deletions(-)

diff -r b8e8061c5a98 -r 0528bc25c404 xen/include/asm-x86/regs.h
--- a/xen/include/asm-x86/regs.h        Tue Jul 03 14:57:59 2007 +0100
+++ b/xen/include/asm-x86/regs.h        Tue Jul 03 15:49:16 2007 +0100
@@ -36,11 +36,6 @@ enum EFLAGS {
     unsigned long diff = (char *)guest_cpu_user_regs() - (char *)(r);         \
     /* Frame pointer must point into current CPU stack. */                    \
     ASSERT(diff < STACK_SIZE);                                                \
-    /* If a guest frame, it must be have guest privs (unless HVM guest).   */ \
-    /* We permit CS==0 which can come from an uninitialised trap entry. */    \
-    ASSERT((diff != 0) || vm86_mode(r) ||                                     \
-           ((r->cs&3) >= GUEST_KERNEL_RPL(current->domain)) ||                \
-           (r->cs == 0) || is_hvm_vcpu(current));                             \
     /* If not a guest frame, it must be a hypervisor frame. */                \
     ASSERT((diff == 0) || (!vm86_mode(r) && (r->cs == __HYPERVISOR_CS)));     \
     /* Return TRUE if it's a guest frame. */                                  \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.