Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Marcelo Tosatti
On Thu, Jul 07, 2011 at 04:13:12PM +0200, Joerg Roedel wrote: To let the user configure the desired tsc frequency for the guest if running in KVM. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- target-i386/cpu.h |1 + target-i386/cpuid.c | 13 + 2 files changed,

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Avi Kivity
On 07/19/2011 02:46 PM, Marcelo Tosatti wrote: On Thu, Jul 07, 2011 at 04:13:12PM +0200, Joerg Roedel wrote: To let the user configure the desired tsc frequency for the guest if running in KVM. Signed-off-by: Joerg Roedeljoerg.roe...@amd.com --- target-i386/cpu.h |1 +

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Marcelo Tosatti
On Tue, Jul 19, 2011 at 03:20:37PM +0300, Avi Kivity wrote: On 07/19/2011 02:46 PM, Marcelo Tosatti wrote: On Thu, Jul 07, 2011 at 04:13:12PM +0200, Joerg Roedel wrote: To let the user configure the desired tsc frequency for the guest if running in KVM. Signed-off-by: Joerg

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Joerg Roedel
On Tue, Jul 19, 2011 at 03:20:37PM +0300, Avi Kivity wrote: On 07/19/2011 02:46 PM, Marcelo Tosatti wrote: On Thu, Jul 07, 2011 at 04:13:12PM +0200, Joerg Roedel wrote: To let the user configure the desired tsc frequency for the guest if running in KVM. Signed-off-by: Joerg

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Avi Kivity
On 07/19/2011 04:30 PM, Joerg Roedel wrote: (although we've been talking about starting a naked qemu and pushing all of the configuration from the source). Hmm, I planned to do the VMSTATE thing in a follow-on patch-set. The plan is to read the VCPU tsc_freq at guest start time on

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Avi Kivity
On 07/19/2011 04:54 PM, Avi Kivity wrote: On 07/19/2011 04:30 PM, Joerg Roedel wrote: (although we've been talking about starting a naked qemu and pushing all of the configuration from the source). Hmm, I planned to do the VMSTATE thing in a follow-on patch-set. The plan is to read the

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Joerg Roedel
On Tue, Jul 19, 2011 at 04:55:53PM +0300, Avi Kivity wrote: On 07/19/2011 04:54 PM, Avi Kivity wrote: On 07/19/2011 04:30 PM, Joerg Roedel wrote: Hmm, I planned to do the VMSTATE thing in a follow-on patch-set. The plan is to read the VCPU tsc_freq at guest start time on !tsc-scale hosts and

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Avi Kivity
On 07/19/2011 05:14 PM, Joerg Roedel wrote: On Tue, Jul 19, 2011 at 04:55:53PM +0300, Avi Kivity wrote: On 07/19/2011 04:54 PM, Avi Kivity wrote: On 07/19/2011 04:30 PM, Joerg Roedel wrote: Hmm, I planned to do the VMSTATE thing in a follow-on patch-set. The plan is to read the VCPU