From patchwork Sun Feb 10 14:57:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Yang Z" X-Patchwork-Id: 2122391 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 434B63FCFC for ; Sun, 10 Feb 2013 15:01:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755660Ab3BJPBD (ORCPT ); Sun, 10 Feb 2013 10:01:03 -0500 Received: from mga01.intel.com ([192.55.52.88]:28923 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755618Ab3BJPBC (ORCPT ); Sun, 10 Feb 2013 10:01:02 -0500 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 10 Feb 2013 07:01:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,639,1355126400"; d="scan'208";a="289343739" Received: from yang-desktop.sh.intel.com ([10.239.13.6]) by fmsmga002.fm.intel.com with ESMTP; 10 Feb 2013 07:01:00 -0800 From: Yang Zhang To: kvm@vger.kernel.org Cc: gleb@redhat.com, Yang Zhang Subject: [PATCH v2] KVM: VMX: disable apicv by default Date: Sun, 10 Feb 2013 22:57:18 +0800 Message-Id: <1360508238-30314-1-git-send-email-yang.z.zhang@intel.com> X-Mailer: git-send-email 1.7.1.1 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org From: Yang Zhang Without Posted Interrupt, current code is broken. Just disable by default until Posted Interrupt is ready. Signed-off-by: Yang Zhang --- arch/x86/kvm/vmx.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index fe9a9cf..fa637c8 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -84,8 +84,7 @@ module_param(vmm_exclusive, bool, S_IRUGO); static bool __read_mostly fasteoi = 1; module_param(fasteoi, bool, S_IRUGO); -static bool __read_mostly enable_apicv_reg_vid = 1; -module_param(enable_apicv_reg_vid, bool, S_IRUGO); +static bool __read_mostly enable_apicv_reg_vid; /* * If nested=1, nested virtualization is supported, i.e., guests may use