Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754201AbbKLKkW (ORCPT ); Thu, 12 Nov 2015 05:40:22 -0500 Received: from szxga01-in.huawei.com ([58.251.152.64]:12069 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753788AbbKLKkV (ORCPT ); Thu, 12 Nov 2015 05:40:21 -0500 Subject: Re: [PATCH v2 3/4] KVM: X86: Migration is supported To: Paolo Bonzini , , , , , , , 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> <5644553C.5080909@redhat.com> CC: , , , From: Jian Zhou Message-ID: <56446C62.9030003@huawei.com> Date: Thu, 12 Nov 2015 18:39:30 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5644553C.5080909@redhat.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.19.14] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090205.56446C7E.0007,ss=1,re=0.000,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2011-05-27 18:58:46 X-Mirapoint-Loop-Id: 0decec5c7b01a47e8b8b7f3b98926dbe Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 695 Lines: 30 On 2015/11/12 17:00, Paolo Bonzini wrote: > > > 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. I got it, thanks. Jian > 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/