Re: [PATCH v2] target/i386/hvf: add vmware-cpuid-freq cpu feature

2021-01-22 Thread Vladislav Yaroshchuk
Hi Cameron, ср, 20 янв. 2021 г. в 01:37, Cameron Esfahani : > > > > On Jan 14, 2021, at 11:47 AM, yaroshchuk2...@gmail.com wrote: > > > > From: Vladislav Yaroshchuk > > > > For `-accel hvf` cpu_x86_cpuid() is wrapped with hvf_cpu_x86_cpuid() to > > add paravirtualization cpuid leaf 0x4010 >

Re: [PATCH v2] target/i386/hvf: add vmware-cpuid-freq cpu feature

2021-01-22 Thread Vladislav Yaroshchuk
Hi Roman, вт, 19 янв. 2021 г. в 21:01, Roman Bolshakov : > On Thu, Jan 14, 2021 at 10:47:03PM +0300, yaroshchuk2...@gmail.com wrote: > > From: Vladislav Yaroshchuk > > > > For `-accel hvf` cpu_x86_cpuid() is wrapped with hvf_cpu_x86_cpuid() to > > add paravirtualization cpuid leaf 0x4010 > >

Re: [PATCH v2] target/i386/hvf: add vmware-cpuid-freq cpu feature

2021-01-19 Thread dirty--- via
> On Jan 14, 2021, at 11:47 AM, yaroshchuk2...@gmail.com wrote: > > From: Vladislav Yaroshchuk > > For `-accel hvf` cpu_x86_cpuid() is wrapped with hvf_cpu_x86_cpuid() to > add paravirtualization cpuid leaf 0x4010 > https://lkml.org/lkml/2008/10/1/246 > > Leaf 0x4010, Timing Informat

Re: [PATCH v2] target/i386/hvf: add vmware-cpuid-freq cpu feature

2021-01-19 Thread Paolo Bonzini
On 19/01/21 19:01, Roman Bolshakov wrote: +switch (index) { +case 0x4000: +memcpy(signature, "TCGTCGTCGTCG", 12); /* QEMU Signature */ Hi Vladislav, TCG belongs to TCG accel identification, for HVF it should be HVFHVFHVFHVF. You can use the KVM identification just fine, as

Re: [PATCH v2] target/i386/hvf: add vmware-cpuid-freq cpu feature

2021-01-19 Thread Roman Bolshakov
On Thu, Jan 14, 2021 at 10:47:03PM +0300, yaroshchuk2...@gmail.com wrote: > From: Vladislav Yaroshchuk > > For `-accel hvf` cpu_x86_cpuid() is wrapped with hvf_cpu_x86_cpuid() to > add paravirtualization cpuid leaf 0x4010 > https://lkml.org/lkml/2008/10/1/246 > > Leaf 0x4010, Timing Info

[PATCH v2] target/i386/hvf: add vmware-cpuid-freq cpu feature

2021-01-14 Thread yaroshchuk2000
From: Vladislav Yaroshchuk For `-accel hvf` cpu_x86_cpuid() is wrapped with hvf_cpu_x86_cpuid() to add paravirtualization cpuid leaf 0x4010 https://lkml.org/lkml/2008/10/1/246 Leaf 0x4010, Timing Information: EAX: (Virtual) TSC frequency in kHz. EBX: (Virtual) Bus (local apic timer) freq