Message ID | 20210412130938.68178-1-david.edmondson@oracle.com (mailing list archive) |
---|---|
Headers | show |
Series | KVM: x86: Make the cause of instruction emulation available to user-space | expand |
On Mon, Apr 12, 2021 at 6:09 AM David Edmondson <david.edmondson@oracle.com> 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.
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@oracle.com> 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.