Received: from eggs.gnu.org ([2001:4830:134:3::10]:35406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnWy1-0003aC-5I for qemu-devel@nongnu.org; Fri, 23 Sep 2016 16:21:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnWxw-0007uR-RJ for qemu-devel@nongnu.org; Fri, 23 Sep 2016 16:21:04 -0400 Received: from mail-io0-x242.google.com ([2607:f8b0:4001:c06::242]:36020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnWxw-0007u7-Lb for qemu-devel@nongnu.org; Fri, 23 Sep 2016 16:21:00 -0400 Received: by mail-io0-x242.google.com with SMTP id z135so7800797ioe.3 for ; Fri, 23 Sep 2016 13:21:00 -0700 (PDT) Sender: Richard Henderson References: <1474659936-978-1-git-send-email-ehabkost@redhat.com> <1474659936-978-8-git-send-email-ehabkost@redhat.com> From: Richard Henderson Message-ID: Date: Fri, 23 Sep 2016 13:20:57 -0700 MIME-Version: 1.0 In-Reply-To: <1474659936-978-8-git-send-email-ehabkost@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 7/7] target-i386: Move xsave component mask to features array List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost , qemu-devel@nongnu.org Cc: Paolo Bonzini , Igor Mammedov On 09/23/2016 12:45 PM, Eduardo Habkost wrote: > This will reuse the existing check/enforce logic in > x86_cpu_filter_features() to check the xsave component bits > against GET_SUPPORTED_CPUID. > > Signed-off-by: Eduardo Habkost > --- > target-i386/cpu.c | 42 ++++++++++++++++++++++++++++-------------- > target-i386/cpu.h | 3 ++- > 2 files changed, 30 insertions(+), 15 deletions(-) Reviewed-by: Richard Henderson r~