diff options
author | Avi Kivity <avi@qumranet.com> | 2007-06-13 19:55:28 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-07-16 12:05:47 +0300 |
commit | 7700270ee3c1324c18f5b7c36ee5ba1a4165919a (patch) | |
tree | b5b1f47ca6ab565bcfb7974ea614da6ddebce0a4 /include/asm-x86_64/e820.h | |
parent | 94cea1bb9d050c3200b36420cc03ba744dfd4338 (diff) |
KVM: VMX: Ensure vcpu time stamp counter is monotonous
If the time stamp counter goes backwards, a guest delay loop can become
infinite. This can happen if a vcpu is migrated to another cpu, where
the counter has a lower value than the first cpu.
Since we're doing an IPI to the first cpu anyway, we can use that to pick
up the old tsc, and use that to calculate the adjustment we need to make
to the tsc offset.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/asm-x86_64/e820.h')
0 files changed, 0 insertions, 0 deletions