Re: [PATCH v3 07/10] qemu-kvm: Cleanup/fix TSC and PV clock writeback

2010-02-25 Thread Marcelo Tosatti
On Thu, Feb 25, 2010 at 04:17:22PM +0100, Jan Kiszka wrote: > Marcelo Tosatti wrote: > > On Thu, Feb 25, 2010 at 09:48:47AM +0100, Jan Kiszka wrote: > >> Marcelo Tosatti wrote: > >>> On Thu, Feb 25, 2010 at 12:58:26AM +0100, Jan Kiszka wrote: > Marcelo Tosatti wrote: > > On Thu, Feb 25, 20

Re: [PATCH v3 07/10] qemu-kvm: Cleanup/fix TSC and PV clock writeback

2010-02-25 Thread Jan Kiszka
Marcelo Tosatti wrote: > On Thu, Feb 25, 2010 at 09:48:47AM +0100, Jan Kiszka wrote: >> Marcelo Tosatti wrote: >>> On Thu, Feb 25, 2010 at 12:58:26AM +0100, Jan Kiszka wrote: Marcelo Tosatti wrote: > On Thu, Feb 25, 2010 at 12:45:55AM +0100, Jan Kiszka wrote: >> Marcelo Tosatti wrote:

Re: [PATCH v3 07/10] qemu-kvm: Cleanup/fix TSC and PV clock writeback

2010-02-25 Thread Marcelo Tosatti
On Thu, Feb 25, 2010 at 09:48:47AM +0100, Jan Kiszka wrote: > Marcelo Tosatti wrote: > > On Thu, Feb 25, 2010 at 12:58:26AM +0100, Jan Kiszka wrote: > >> Marcelo Tosatti wrote: > >>> On Thu, Feb 25, 2010 at 12:45:55AM +0100, Jan Kiszka wrote: > Marcelo Tosatti wrote: > > On Wed, Feb 24, 20

Re: [PATCH v3 07/10] qemu-kvm: Cleanup/fix TSC and PV clock writeback

2010-02-25 Thread Jan Kiszka
Marcelo Tosatti wrote: > On Thu, Feb 25, 2010 at 12:58:26AM +0100, Jan Kiszka wrote: >> Marcelo Tosatti wrote: >>> On Thu, Feb 25, 2010 at 12:45:55AM +0100, Jan Kiszka wrote: Marcelo Tosatti wrote: > On Wed, Feb 24, 2010 at 03:17:55PM +0100, Jan Kiszka wrote: >> Drop kvm_load_tsc in fa

Re: [PATCH v3 07/10] qemu-kvm: Cleanup/fix TSC and PV clock writeback

2010-02-24 Thread Marcelo Tosatti
On Thu, Feb 25, 2010 at 12:58:26AM +0100, Jan Kiszka wrote: > Marcelo Tosatti wrote: > > On Thu, Feb 25, 2010 at 12:45:55AM +0100, Jan Kiszka wrote: > >> Marcelo Tosatti wrote: > >>> On Wed, Feb 24, 2010 at 03:17:55PM +0100, Jan Kiszka wrote: > Drop kvm_load_tsc in favor of level-dependent wri

Re: [PATCH v3 07/10] qemu-kvm: Cleanup/fix TSC and PV clock writeback

2010-02-24 Thread Jan Kiszka
Marcelo Tosatti wrote: > On Thu, Feb 25, 2010 at 12:45:55AM +0100, Jan Kiszka wrote: >> Marcelo Tosatti wrote: >>> On Wed, Feb 24, 2010 at 03:17:55PM +0100, Jan Kiszka wrote: Drop kvm_load_tsc in favor of level-dependent writeback in kvm_arch_load_regs. KVM's PV clock MSRs fall in the sam

Re: [PATCH v3 07/10] qemu-kvm: Cleanup/fix TSC and PV clock writeback

2010-02-24 Thread Marcelo Tosatti
On Thu, Feb 25, 2010 at 12:45:55AM +0100, Jan Kiszka wrote: > Marcelo Tosatti wrote: > > On Wed, Feb 24, 2010 at 03:17:55PM +0100, Jan Kiszka wrote: > >> Drop kvm_load_tsc in favor of level-dependent writeback in > >> kvm_arch_load_regs. KVM's PV clock MSRs fall in the same category and > >> should

Re: [PATCH v3 07/10] qemu-kvm: Cleanup/fix TSC and PV clock writeback

2010-02-24 Thread Jan Kiszka
Marcelo Tosatti wrote: > On Wed, Feb 24, 2010 at 03:17:55PM +0100, Jan Kiszka wrote: >> Drop kvm_load_tsc in favor of level-dependent writeback in >> kvm_arch_load_regs. KVM's PV clock MSRs fall in the same category and >> should therefore only be written back on full sync. >> >> Signed-off-by: Jan

Re: [PATCH v3 07/10] qemu-kvm: Cleanup/fix TSC and PV clock writeback

2010-02-24 Thread Marcelo Tosatti
On Wed, Feb 24, 2010 at 03:17:55PM +0100, Jan Kiszka wrote: > Drop kvm_load_tsc in favor of level-dependent writeback in > kvm_arch_load_regs. KVM's PV clock MSRs fall in the same category and > should therefore only be written back on full sync. > > Signed-off-by: Jan Kiszka > --- > qemu-kvm-x8

[PATCH v3 07/10] qemu-kvm: Cleanup/fix TSC and PV clock writeback

2010-02-24 Thread Jan Kiszka
Drop kvm_load_tsc in favor of level-dependent writeback in kvm_arch_load_regs. KVM's PV clock MSRs fall in the same category and should therefore only be written back on full sync. Signed-off-by: Jan Kiszka --- qemu-kvm-x86.c| 19 +-- qemu-kvm.h|4