From mboxrd@z Thu Jan 1 00:00:00 1970 From: Haozhong Zhang Subject: Re: [PATCH 3/3] kvm-all: notice KVM of vcpu's TSC rate after migration Date: Tue, 6 Oct 2015 09:20:31 +0800 Message-ID: <20151006012031.GA3798@hzzhang-OptiPlex-9020.sh.intel.com> References: <1443418711-24106-1-git-send-email-haozhong.zhang@intel.com> <1443418711-24106-4-git-send-email-haozhong.zhang@intel.com> <20150928163734.GF4130@thinpad.lan.raisama.net> <20150929034334.GI3583@hzzhang-OptiPlex-9020.sh.intel.com> <20150929180207.GK4130@thinpad.lan.raisama.net> <20150930003226.GD3789@hzzhang-OptiPlex-9020.sh.intel.com> <20150930203611.GB1260@thinpad.lan.raisama.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, Paolo Bonzini , Marcelo Tosatti , Richard Henderson , libvir-list@redhat.com To: Eduardo Habkost Return-path: Received: from mga03.intel.com ([134.134.136.65]:47076 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751214AbbJFBUe (ORCPT ); Mon, 5 Oct 2015 21:20:34 -0400 Content-Disposition: inline In-Reply-To: <20150930203611.GB1260@thinpad.lan.raisama.net> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Sep 30, 2015 at 05:36:11PM -0300, Eduardo Habkost wrote: > On Wed, Sep 30, 2015 at 08:32:26AM +0800, Haozhong Zhang wrote: > > > [...] > > > > > Or maybe we shouldn't treat this as VM state, but as configuration, and > > > > > let management configure the TSC frequency explicitly if the user really > > > > > needs it to stay the same during migration. > > > > > > > > > > (CCing libvir-list to see if they have feedback) > > > > > > > > > > > > > Thanks for CC. I'll consider to add a command line option to control > > > > the configuration of guest TSC fequency. > > > > > > It already exists, -cpu has a "tsc-freq" option. > > > > > > > What I'm considering is to add a "-keep-tsc-freq" option to control > > whether the TSC frequency should be migrated if "tsc-freq" is not > > presented. Compared to "tsc-freq", "-keep-tsc-freq" can free users > > from figuring out the guest TSC frequency manually in the migration. > > If you do that, please make it a property of the CPU object, so it will > can be set as a "-cpu" option. > Yes, I'll do so. - Haozhong > -- > Eduardo > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html