]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Zero out the correct page in the Hyper-V features test
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 20:05:12 +0000 (13:05 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 08:31:17 +0000 (04:31 -0400)
commit79108febde20ec0ac05e00bea42c8ca3679578b7
treec246228c1d9261b8b0dbcf0cf948088f6fe5eb37
parent91fea597565f631ab084fc801cf27f7f496eee67
KVM: selftests: Zero out the correct page in the Hyper-V features test

Fix an apparent copy-paste goof in hyperv_features where hcall_page
(which is two pages, so technically just the first page) gets zeroed
twice, and hcall_params gets zeroed none times.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622200529.3650424-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/x86_64/hyperv_features.c