[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <67e2e6b4fcbc2ec0bdda1e1af1cfe61d3c1fde6f.camel@redhat.com>
Date: Fri, 09 Jul 2021 09:08:43 +0300
From: Maxim Levitsky <mlevitsk@...hat.com>
To: Paolo Bonzini <pbonzini@...hat.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>, kvm@...r.kernel.org
Cc: Sean Christopherson <seanjc@...gle.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Cathy Avery <cavery@...hat.com>,
Emanuele Giuseppe Esposito <eesposit@...hat.com>,
Tom Lendacky <thomas.lendacky@....com>,
Michael Roth <mdroth@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/6] KVM: nSVM: Check the value written to
MSR_VM_HSAVE_PA
On Thu, 2021-07-08 at 19:27 +0200, Paolo Bonzini wrote:
> On 07/07/21 12:28, Maxim Levitsky wrote:
> > Minor nitpick: I would have checked the host provided value as well,
> > just in case since there is no reason why it won't pass the same check,
> > and fail if the value is not aligned.
>
> The reason not to do so is that it would allow a guest running an old
> kernel to defeat live migration.
I understand now, and I will keep this in mind next time.
Best regards,
Maxim Levitsky
>
> Paolo
>
> > Other than that:
> > Reviewed-by: Maxim Levitsky<mlevitsk@...hat.com>
Powered by blists - more mailing lists