[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7de8802b-e463-ef3b-79b2-024696e8aca1@redhat.com>
Date: Mon, 12 Mar 2018 18:11:32 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Andy Lutomirski <luto@...nel.org>
Cc: Vitaly Kuznetsov <vkuznets@...hat.com>,
kvm list <kvm@...r.kernel.org>, X86 ML <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
Radim Krčmář <rkrcmar@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH 1/3] x86/kvm/vmx: read MSR_FS_BASE from current->thread
On 12/03/2018 18:00, Andy Lutomirski wrote:
>> Why in save_..._legacy? If it is about FSGSBASE, shouldn't it be in
>> save_fsgs? (Or if not I'm missing what the comment should be about).
> It could be in save_fsgs(), I guess. The main point is to make it
> clear to readers of the code in save_fsgs(), the legacy helpers, etc
> that there's another piece of code in KVM that makes the same set of
> somewhat problematic assumptions and that will need updating for
> FSGSBASE.
Okay, that's a good idea.
Paolo
Powered by blists - more mailing lists