Received: from eggs.gnu.org ([2001:4830:134:3::10]:41974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wl0ez-0001zT-K1 for qemu-devel@nongnu.org; Thu, 15 May 2014 14:45:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wl0es-0006OE-21 for qemu-devel@nongnu.org; Thu, 15 May 2014 14:45:41 -0400 Received: from mail-pb0-f49.google.com ([209.85.160.49]:50024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wl0er-0006O8-Q7 for qemu-devel@nongnu.org; Thu, 15 May 2014 14:45:33 -0400 Received: by mail-pb0-f49.google.com with SMTP id jt11so1446218pbb.22 for ; Thu, 15 May 2014 11:45:32 -0700 (PDT) Date: Thu, 15 May 2014 14:45:30 -0400 From: Kevin O'Connor Message-ID: <20140515184530.GB22225@morn.localdomain> References: <1400173016-27214-1-git-send-email-pbonzini@redhat.com> <1400173016-27214-2-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1400173016-27214-2-git-send-email-pbonzini@redhat.com> Subject: Re: [Qemu-devel] [PATCH 1/3] target-i386: fix segment flags for SMM and VM86 mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On Thu, May 15, 2014 at 06:56:54PM +0200, Paolo Bonzini wrote: > With the next patch, these need to be correct or VM86 tasks > have the wrong CPL. The flags are basically what the Intel VMX > documentation say is mandatory for entry into a VM86 guest. > > For consistency, SMM ought to have the same flags except with > CPL=0. Does cpu_x86_load_seg() and x86_cpu_gdb_load_seg() then also have to change? -Kevin