diff options
author | Gleb Natapov <gleb@redhat.com> | 2011-02-21 10:07:59 (GMT) |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-03-17 16:08:31 (GMT) |
commit | 93ea5388ead5d7b87f54b8de53e35231acec8bbe (patch) | |
tree | 7ec192ad68fc3a28021ccfb229f5a49bd9980510 /net/ceph | |
parent | a8ba6c2622036101d0c6a195f97546bcb1a056ab (diff) | |
download | linux-93ea5388ead5d7b87f54b8de53e35231acec8bbe.tar.xz |
KVM: VMX: Initialize vm86 TSS only once.
Currently vm86 task is initialized on each real mode entry and vcpu
reset. Initialization is done by zeroing TSS and updating relevant
fields. But since all vcpus are using the same TSS there is a race where
one vcpu may use TSS while other vcpu is initializing it, so the vcpu
that uses TSS will see wrong TSS content and will behave incorrectly.
Fix that by initializing TSS only once.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions