x86: kvmclock: add flag to indicate pvclock counts from zero
authorMarcelo Tosatti <mtosatti@redhat.com>
Thu, 28 May 2015 23:20:39 +0000 (20:20 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 29 May 2015 12:01:39 +0000 (14:01 +0200)
commit611917258f88fb2fa41d1c2826b193f7c3885b54
tree76eac0af82fcc6134dc0872fbdbf88261e528926
parent4141259b56cbd5a8614e487366909a02d702b9dd
x86: kvmclock: add flag to indicate pvclock counts from zero

Setting sched clock stable for kvmclock causes the printk timestamps
to not start from zero, which is different from baremetal and
can possibly break userspace. Add a flag to indicate that
hypervisor sets clock base at zero when kvmclock is initialized.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/pvclock-abi.h