Re: [PATCH v2] target/arm/cpu: adjust virtual time for arm cpu

2020-06-04 Thread Ying Fang
On 6/3/2020 4:26 PM, Andrew Jones wrote: On Wed, Jun 03, 2020 at 10:02:08AM +0800, Ying Fang wrote: Virtual time adjustment was implemented for virt-5.0 machine type, but the cpu property was enabled only for host-passthrough and max cpu model. Let's add it for arm cpu which has the gernic

Re: [PATCH v2] target/arm/cpu: adjust virtual time for arm cpu

2020-06-03 Thread Peter Maydell
On Wed, 3 Jun 2020 at 09:26, Andrew Jones wrote: > The name 'kvm_arm_add_vcpu_properties' says nothing about being specific > to the timer. So this is either the wrong place for this function, or the > function is named wrong. I'd say it's the wrong place, because, as the > comment above

Re: [PATCH v2] target/arm/cpu: adjust virtual time for arm cpu

2020-06-03 Thread Andrew Jones
On Wed, Jun 03, 2020 at 10:02:08AM +0800, Ying Fang wrote: > Virtual time adjustment was implemented for virt-5.0 machine type, > but the cpu property was enabled only for host-passthrough and > max cpu model. Let's add it for arm cpu which has the gernic > timer feature enabled. > > >

Re: [PATCH v2] target/arm/cpu: adjust virtual time for arm cpu

2020-06-02 Thread Richard Henderson
On 6/2/20 7:02 PM, Ying Fang wrote: > Virtual time adjustment was implemented for virt-5.0 machine type, > but the cpu property was enabled only for host-passthrough and > max cpu model. Let's add it for arm cpu which has the gernic "generic" > timer feature enabled. > > > Signed-off-by: Ying

[PATCH v2] target/arm/cpu: adjust virtual time for arm cpu

2020-06-02 Thread Ying Fang
Virtual time adjustment was implemented for virt-5.0 machine type, but the cpu property was enabled only for host-passthrough and max cpu model. Let's add it for arm cpu which has the gernic timer feature enabled. Signed-off-by: Ying Fang --- v2: - move kvm_arm_add_vcpu_properties into