aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-09-04 16:54:47 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-09-04 16:54:47 +0000
commitde7581500691999629a35a9752c6a830ce520ca6 (patch)
tree69797eddc249375e484222f5dc86316140f79332
parent7fa98e2a7a61bbd221235f2e0ee933431e268166 (diff)
disabled LDT test (kqemu 0.7.2 no longer needs it)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1569 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--exec-all.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/exec-all.h b/exec-all.h
index 045648c062..5db83d368c 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -620,11 +620,7 @@ static inline int kqemu_is_ok(CPUState *env)
(env->eflags & IOPL_MASK) != IOPL_MASK &&
(env->cr[0] & CR0_PE_MASK) &&
(env->eflags & IF_MASK) &&
- !(env->eflags & VM_MASK)
-#if 1
- && (env->ldt.limit == 0 || env->ldt.limit == 0x27)
-#endif
- );
+ !(env->eflags & VM_MASK));
}
#endif