[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0d324a3d-8c33-bb6c-13f3-e60310a54b13@amd.com>
Date: Tue, 12 Jan 2021 23:15:03 -0600
From: Wei Huang <wei.huang2@....com>
To: Andy Lutomirski <luto@...nel.org>,
Sean Christopherson <seanjc@...gle.com>
Cc: kvm list <kvm@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Paolo Bonzini <pbonzini@...hat.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Joerg Roedel <joro@...tes.org>, Borislav Petkov <bp@...en8.de>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, X86 ML <x86@...nel.org>,
Jim Mattson <jmattson@...gle.com>,
Wanpeng Li <wanpengli@...cent.com>,
Bandan Das <bsd@...hat.com>,
"Dr. David Alan Gilbert" <dgilbert@...hat.com>,
Maxim Levitsky <mlevitsk@...hat.com>
Subject: Re: [PATCH 1/2] KVM: x86: Add emulation support for #GP triggered by
VM instructions
On 1/12/21 12:58 PM, Andy Lutomirski wrote:
> Andrew Cooper points out that there may be a nicer workaround. Make
> sure that the SMRAM and HT region (FFFD00000000 - FFFFFFFFFFFF) are
> marked as reserved in the guest, too.
In theory this proposed solution can avoid intercepting #GP. But in
reality SMRAM regions can be different on different machines. So this
solution can break after VM migration.
Powered by blists - more mailing lists