KVM: zero output of KVM_GET_VCPU_EVENTS before filling in the struct
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 Oct 2022 16:44:28 +0000 (12:44 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Nov 2022 17:31:21 +0000 (12:31 -0500)
commit85672346a707d8e4d5657279dac6b356e1edf24a
treedebddbfe0587fa32c3f1ccd60a651a587a23083b
parentcf7316d0361c5d3289611402b5ac0c64c918b20b
KVM: zero output of KVM_GET_VCPU_EVENTS before filling in the struct

This allows making some fields optional, as will be the case soon
for SMM-related data.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c