[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <167969133728.2756130.12262089372774789220.b4-ty@google.com>
Date: Fri, 24 Mar 2023 16:38:12 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>,
Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Hou Wenlong <houwenlong.hwl@...group.com>
Subject: Re: [PATCH] KVM: x86: Assert that the emulator doesn't load CS with
garbage in !RM
On Thu, 16 Feb 2023 12:22:54 -0800, Sean Christopherson wrote:
> Yell loudly if KVM attempts to load CS outside of Real Mode without an
> accompanying control transfer type, i.e. on X86_TRANSFER_NONE. KVM uses
> X86_TRANSFER_NONE when emulating IRET and exceptions/interrupts for Real
> Mode, but IRET emulation for Protected Mode is non-existent. WARN instead
> of trying to pass in a less-wrong type, e.g. X86_TRANSFER_RET, as
> emulating IRET goes even beyond emulating FAR RET (which KVM also doesn't
> fully support).
>
> [...]
Applied to kvm-x86 misc, thanks!
[1/1] KVM: x86: Assert that the emulator doesn't load CS with garbage in !RM
https://github.com/kvm-x86/linux/commit/65966aaca18a
--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes
Powered by blists - more mailing lists