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

From: Sean Christopherson
Date: Tue Oct 12 2021 - 19:45:51 EST


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>