On Mon, Aug 03, 2020 at 09:20:43PM -0700, Aaron Lewis wrote: > diff --git a/tools/testing/selftests/kvm/lib/x86_64/ucall.c b/tools/testing/selftests/kvm/lib/x86_64/ucall.c > index da4d89ad5419..a3489973e290 100644 > --- a/tools/testing/selftests/kvm/lib/x86_64/ucall.c > +++ b/tools/testing/selftests/kvm/lib/x86_64/ucall.c > @@ -40,6 +40,9 @@ uint64_t get_ucall(struct kvm_vm *vm, uint32_t vcpu_id, struct ucall *uc) > struct kvm_run *run = vcpu_state(vm, vcpu_id); > struct ucall ucall = {}; > > + if (uc) > + memset(uc, 0, sizeof(*uc)); > + > if (run->exit_reason == KVM_EXIT_IO && run->io.port == UCALL_PIO_PORT) { > struct kvm_regs regs; > This is a fix that should be in a separate patch, and please patch the other architectures too. Thanks, drew