From: Takuya Yoshikawa Subject: Re: [PATCH 1/2] KVM: x86 emulator: Move ModRM flags for groups to top level opcode tables Date: Mon, 30 Apr 2012 23:20:08 +0900 Message-ID: <20120430232008.a26023ae96917d08e56752e0@gmail.com> References: <20120430174341.8a8cc2b9f9b613fdc51b7daf@gmail.com> <20120430174631.371b86aba2373acb05bc20cc@gmail.com> <4F9E69ED.7060601@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: mtosatti@redhat.com, kvm@vger.kernel.org, yoshikawa.takuya@oss.ntt.co.jp To: Avi Kivity Return-path: Received: from mail-pb0-f46.google.com ([209.85.160.46]:34963 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752266Ab2D3OUN (ORCPT ); Mon, 30 Apr 2012 10:20:13 -0400 Received: by pbbrp8 with SMTP id rp8so3310660pbb.19 for ; Mon, 30 Apr 2012 07:20:13 -0700 (PDT) In-Reply-To: <4F9E69ED.7060601@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, 30 Apr 2012 13:31:09 +0300 Avi Kivity wrote: > > static struct opcode group7_rm1[] = { > > - DI(SrcNone | ModRM | Priv, monitor), > > - DI(SrcNone | ModRM | Priv, mwait), > > + DI(SrcNone | Priv, monitor), > > + DI(SrcNone | Priv, mwait), > > N, N, N, N, N, N, > > }; > > > > Removing ModRM everywhere isn't strictly necessary (but is okay). As ModRMs were inconsistently distributed, I wanted to make them consistent. If they are consistently written in everywhere, I like that style too! Takuya