[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu
From: |
Marcelo Tosatti |
Subject: |
Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu |
Date: |
Tue, 19 Jul 2011 09:56:06 -0300 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 Roedel<address@hidden>
> >> ---
> >> target-i386/cpu.h | 1 +
> >> target-i386/cpuid.c | 13 +++++++++++++
> >> 2 files changed, 14 insertions(+), 0 deletions(-)
> >>
> >> diff --git a/target-i386/cpu.h b/target-i386/cpu.h
> >> index cdf68ff..399e124 100644
> >> --- a/target-i386/cpu.h
> >> +++ b/target-i386/cpu.h
> >> @@ -743,6 +743,7 @@ typedef struct CPUX86State {
> >> uint32_t cpuid_kvm_features;
> >> uint32_t cpuid_svm_features;
> >> bool tsc_valid;
> >> + int tsc_khz;
> >
> >This should be saved/restore in migration data (missing VMSTATE entry).
>
> Why? It's static data. Traditionally we only migrate runtime data.
>
> (although we've been talking about starting a naked qemu and pushing
> all of the configuration from the source).
Right.
- [Qemu-devel] [PATCH 0/3][uq/master] Basic TSC-Scaling support v2, Joerg Roedel, 2011/07/07
- [Qemu-devel] [PATCH 1/3] qemu: Add strtosz_suffix_unit function, Joerg Roedel, 2011/07/07
- [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu, Joerg Roedel, 2011/07/07
- Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu, Marcelo Tosatti, 2011/07/19
- Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu, Avi Kivity, 2011/07/19
- Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu,
Marcelo Tosatti <=
- Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu, Joerg Roedel, 2011/07/19
- Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu, Avi Kivity, 2011/07/19
- Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu, Avi Kivity, 2011/07/19
- Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu, Joerg Roedel, 2011/07/19
- Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu, Avi Kivity, 2011/07/19
[Qemu-devel] [PATCH 3/3] qemu-x86: Set tsc_khz in kvm when supported, Joerg Roedel, 2011/07/07
Re: [Qemu-devel] [PATCH 0/3][uq/master] Basic TSC-Scaling support v2, Marcelo Tosatti, 2011/07/19