Re: [PATCH 0/6] KVM: x86: Make the cause of instruction emulation available to user-space

From: David Edmondson
Date: Tue Apr 13 2021 - 07:01:13 EST


On Monday, 2021-04-12 at 11:34:33 -07, Jim Mattson wrote:

> On Mon, Apr 12, 2021 at 6:09 AM David Edmondson
> <david.edmondson@xxxxxxxxxx> wrote:
>>
>> Instruction emulation happens for a variety of reasons, yet on error
>> we have no idea exactly what triggered it. Add a cause of emulation to
>> the various originators and pass it upstream when emulation fails.
>
> What is userspace going to do with this information? It's hard to say
> whether or not this is the right ABI without more context.

Logging for debug purposes, see reply to Sean.

dme.
--
You make me feel like a natural woman.