
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. -- Eduardo