Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933281AbcCHLpJ (ORCPT ); Tue, 8 Mar 2016 06:45:09 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33303 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933181AbcCHLoq (ORCPT ); Tue, 8 Mar 2016 06:44:46 -0500 From: Paolo Bonzini To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: guangrong.xiao@linux.intel.com Subject: [PATCH 0/2] KVM: x86: disable MPX if host did not enable MPX XSAVE features Date: Tue, 8 Mar 2016 12:44:39 +0100 Message-Id: <1457437481-65784-1-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 566 Lines: 16 Patch 1 ensures that all aspects of MPX are disabled when eager FPU is disabled on the host. Patch 2 is just a cleanup. Paolo Bonzini (2): KVM: x86: disable MPX if host did not enable MPX XSAVE features KVM: x86: remove eager_fpu field of struct kvm_vcpu_arch arch/x86/include/asm/kvm_host.h | 1 - arch/x86/kvm/cpuid.c | 14 ++++++++++---- arch/x86/kvm/cpuid.h | 9 +-------- arch/x86/kvm/vmx.c | 13 ++++++------- arch/x86/kvm/x86.c | 2 +- 5 files changed, 18 insertions(+), 21 deletions(-) -- 1.8.3.1