commit | 99e3e30aee1a326a98bf3a5f47b8622219c685f3 | [log] [tgz] |
---|---|---|
author | Zachary Amsden <zamsden@redhat.com> | Thu Aug 19 22:07:17 2010 -1000 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 24 10:51:22 2010 +0200 |
tree | 1b67fc70af33988080784d32725f72b5ce7c07d1 | |
parent | f4e1b3c8bd2a044cd0ccf80595bfd088a49fe60b [diff] |
KVM: x86: Move TSC offset writes to common code Also, ensure that the storing of the offset and the reading of the TSC are never preempted by taking a spinlock. While the lock is overkill now, it is useful later in this patch series. Signed-off-by: Zachary Amsden <zamsden@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>