All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][VT][14/15] VMX domains can have iopl!=0.
@ 2005-08-11 19:25 Arun Sharma
  0 siblings, 0 replies; only message in thread
From: Arun Sharma @ 2005-08-11 19:25 UTC (permalink / raw)
  To: Ian Pratt, Keir Fraser; +Cc: xen-devel

VMX domains can have iopl!=0.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>

diff -r bbb21d688c7f -r b1a41c400d5c xen/arch/x86/dom0_ops.c
--- a/xen/arch/x86/dom0_ops.c	Tue Aug  9 19:12:48 2005
+++ b/xen/arch/x86/dom0_ops.c	Tue Aug  9 19:18:23 2005
@@ -405,7 +405,7 @@
     memcpy(c, &v->arch.guest_context, sizeof(*c));
 
     /* IOPL privileges are virtualised -- merge back into returned eflags. */
-    BUG_ON((c->user_regs.eflags & EF_IOPL) != 0);
+    BUG_ON(((c->user_regs.eflags & EF_IOPL) != 0) && !(VMX_DOMAIN(v)));
     c->user_regs.eflags |= v->arch.iopl << 12;
 
     if ( VMX_DOMAIN(v) )

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-11 19:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-11 19:25 [PATCH][VT][14/15] VMX domains can have iopl!=0 Arun Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.