aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-05-24 21:52:46 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-05-24 21:55:02 +0200
commit66f61c92889ff3ca365161fb29dd36d6354682ba (patch)
tree96fb2e0f01ced798d2d758908f05e8b15cb55ce8 /tools/testing
parenttools/kvm_stat: fix fields filter for child events (diff)
downloadlinux-dev-66f61c92889ff3ca365161fb29dd36d6354682ba.tar.xz
linux-dev-66f61c92889ff3ca365161fb29dd36d6354682ba.zip
KVM: x86: fix return value for reserved EFER
Commit 11988499e62b ("KVM: x86: Skip EFER vs. guest CPUID checks for host-initiated writes", 2019-04-02) introduced a "return false" in a function returning int, and anyway set_efer has a "nonzero on error" conventon so it should be returning 1. Reported-by: Pavel Machek <pavel@denx.de> Fixes: 11988499e62b ("KVM: x86: Skip EFER vs. guest CPUID checks for host-initiated writes") Cc: Sean Christopherson <sean.j.christopherson@intel.com> Cc: stable@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions