Messages in this thread | | | Date | Thu, 17 Sep 2009 00:24:27 +0300 | From | Avi Kivity <> | Subject | Re: [PATCH 3/4] KVM: x86 shared msr infrastructure |
| |
On 09/17/2009 12:21 AM, Marcelo Tosatti wrote: >> +static struct kvm_shared_msrs_global __read_mostly shared_msrs_global; >> > Does this assume the MSRs in question are consistent across CPUs? >
Yes. And they are.
> I guess that is not true with arch_prctl(ARCH_SET_GS/ARCH_GET_GS) ? >
These aren't shared MSRs and are saved and restored independently.
-- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
| |