On Tue, Sep 16, 2014 at 06:22:15PM +0200, Paolo Bonzini wrote:
> Il 16/09/2014 18:07, Marcelo Tosatti ha scritto:
> >> > The cpu_synchronize_all_states() call in kvmclock_vm_state_change() is
> >> > needed to make env->tsc up to date with the value on the source, right?
> > Its there to make sure t
On Tue, Sep 16, 2014 at 05:42:16PM +0200, Paolo Bonzini wrote:
> Il 16/09/2014 17:14, Marcelo Tosatti ha scritto:
> > + /*
> > +* Make sure that CPU state is synchronized from KVM
> > +* once every VM state change callback has finished.
>
> Which other callback could affect the in-kernel
On Tue, Sep 16, 2014 at 01:48:24PM -0300, Marcelo Tosatti wrote:
> On Tue, Sep 16, 2014 at 06:22:15PM +0200, Paolo Bonzini wrote:
> > Il 16/09/2014 18:07, Marcelo Tosatti ha scritto:
> > >> > The cpu_synchronize_all_states() call in kvmclock_vm_state_change() is
> > >> > needed to make env->tsc up
On Tue, Sep 16, 2014 at 06:22:15PM +0200, Paolo Bonzini wrote:
> Il 16/09/2014 18:07, Marcelo Tosatti ha scritto:
> >> > The cpu_synchronize_all_states() call in kvmclock_vm_state_change() is
> >> > needed to make env->tsc up to date with the value on the source, right?
> > Its there to make sure t
Il 16/09/2014 18:07, Marcelo Tosatti ha scritto:
>> > The cpu_synchronize_all_states() call in kvmclock_vm_state_change() is
>> > needed to make env->tsc up to date with the value on the source, right?
> Its there to make sure the pair
>
> env->tsc, s->clock = data.clock
>
> are relative to point
On Tue, Sep 16, 2014 at 06:03:40PM +0200, Paolo Bonzini wrote:
> Il 16/09/2014 17:55, Marcelo Tosatti ha scritto:
> > On Tue, Sep 16, 2014 at 05:42:16PM +0200, Paolo Bonzini wrote:
> >> Il 16/09/2014 17:14, Marcelo Tosatti ha scritto:
> >>> + /*
> >>> + * Make sure that CPU state is synchronized f
Il 16/09/2014 17:55, Marcelo Tosatti ha scritto:
> On Tue, Sep 16, 2014 at 05:42:16PM +0200, Paolo Bonzini wrote:
>> Il 16/09/2014 17:14, Marcelo Tosatti ha scritto:
>>> + /*
>>> +* Make sure that CPU state is synchronized from KVM
>>> +* once every VM state change callback has finished.
On Tue, Sep 16, 2014 at 05:42:16PM +0200, Paolo Bonzini wrote:
> Il 16/09/2014 17:14, Marcelo Tosatti ha scritto:
> > + /*
> > +* Make sure that CPU state is synchronized from KVM
> > +* once every VM state change callback has finished.
>
> Which other callback could affect the in-kernel
Il 16/09/2014 17:14, Marcelo Tosatti ha scritto:
> + /*
> + * Make sure that CPU state is synchronized from KVM
> + * once every VM state change callback has finished.
Which other callback could affect the in-kernel state, and should that
call cpu_clean_all_dirty instead?
Paolo
> +
Explain the cpu_clean_all_dirty call.
Signed-off-by: Marcelo Tosatti
---
hw/i386/kvm/clock.c |4
1 file changed, 4 insertions(+)
Index: qemu/hw/i386/kvm/clock.c
===
--- qemu.orig/hw/i386/kvm/clock.c 2014-09-16 12:1
10 matches
Mail list logo