diff options
author | Paolo Bonzini <[email protected]> | 2019-05-24 21:52:46 +0200 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2019-05-24 21:55:02 +0200 |
commit | 66f61c92889ff3ca365161fb29dd36d6354682ba (patch) | |
tree | 96fb2e0f01ced798d2d758908f05e8b15cb55ce8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 883d25e70b2f699fed9017e509d1ef8e36229b89 (diff) |
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 <[email protected]>
Fixes: 11988499e62b ("KVM: x86: Skip EFER vs. guest CPUID checks for host-initiated writes")
Cc: Sean Christopherson <[email protected]>
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions