Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753969AbbKLJAz (ORCPT ); Thu, 12 Nov 2015 04:00:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35619 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753788AbbKLJAy (ORCPT ); Thu, 12 Nov 2015 04:00:54 -0500 Subject: Re: [PATCH v2 3/4] KVM: X86: Migration is supported To: Jian Zhou , kvm@vger.kernel.org, gleb@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org References: <1445591718-5720-1-git-send-email-jianjay.zhou@huawei.com> <1445591718-5720-4-git-send-email-jianjay.zhou@huawei.com> <56435B9A.1070004@redhat.com> <56443A67.4070208@huawei.com> Cc: herongguang.he@huawei.com, zhang.zhanghailiang@huawei.com, weidong.huang@huawei.com, peter.huangpeng@huawei.com From: Paolo Bonzini Message-ID: <5644553C.5080909@redhat.com> Date: Thu, 12 Nov 2015 10:00:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56443A67.4070208@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 594 Lines: 19 On 12/11/2015 08:06, Jian Zhou wrote: >> >> I think you can just do this in kvm_x86_ops->set_msr. The old >> implementation for DEBUGCTL MSR can be moved to svm.c. > > I think you mean "moved to vmx.c"? No, the old implementation is moved from x86.c to svm.c. The new implementation you have in vmx.c is then called from vmx_set_msr. Paolo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/