Re: [PATCH v6 1/4] KVM: x86: Clarify the kvm_run.emulation_failure structure layout

From: Paolo Bonzini
Date: Fri Oct 22 2021 - 11:25:16 EST


On 13/10/21 11:29, David Edmondson wrote:
On Tuesday, 2021-10-12 at 23:45:43 GMT, Sean Christopherson wrote:

On Mon, Sep 20, 2021, David Edmondson wrote:
Until more flags for kvm_run.emulation_failure flags are defined, it
is undetermined whether new payload elements corresponding to those
flags will be additive or alternative. As a hint to userspace that an
alternative is possible, wrap the current payload elements in a union.

Suggested-by: Sean Christopherson <seanjc@xxxxxxxxxx>
Signed-off-by: David Edmondson <david.edmondson@xxxxxxxxxx>
---

To complete the set... :-)

Reviewed-by: Sean Christopherson <seanjc@xxxxxxxxxx>

Thanks!


Queued, thanks!

Paolo