Re: [PATCH v3 0/8] Refactor handling flow of KVM_SET_CPUID*

2020-07-09 Thread Paolo Bonzini
On 09/07/20 06:27, Xiaoyao Li wrote: > On 7/8/2020 8:10 PM, Paolo Bonzini wrote: >> On 08/07/20 08:50, Xiaoyao Li wrote: >>> This serial is the extended version of >>> https://lkml.kernel.org/r/20200528151927.14346-1-xiaoyao...@intel.com >>> >>> First two patches are bug fixing, and the others aim

Re: [PATCH v3 0/8] Refactor handling flow of KVM_SET_CPUID*

2020-07-08 Thread Xiaoyao Li
On 7/8/2020 8:10 PM, Paolo Bonzini wrote: On 08/07/20 08:50, Xiaoyao Li wrote: This serial is the extended version of https://lkml.kernel.org/r/20200528151927.14346-1-xiaoyao...@intel.com First two patches are bug fixing, and the others aim to refactor the flow of SET_CPUID* as: 1. cpuid

Re: [PATCH v3 0/8] Refactor handling flow of KVM_SET_CPUID*

2020-07-08 Thread Paolo Bonzini
On 08/07/20 08:50, Xiaoyao Li wrote: > This serial is the extended version of > https://lkml.kernel.org/r/20200528151927.14346-1-xiaoyao...@intel.com > > First two patches are bug fixing, and the others aim to refactor the flow > of SET_CPUID* as: > > 1. cpuid check: check if userspace provides

[PATCH v3 0/8] Refactor handling flow of KVM_SET_CPUID*

2020-07-08 Thread Xiaoyao Li
This serial is the extended version of https://lkml.kernel.org/r/20200528151927.14346-1-xiaoyao...@intel.com First two patches are bug fixing, and the others aim to refactor the flow of SET_CPUID* as: 1. cpuid check: check if userspace provides legal CPUID settings; 2. cpuid update: Update some