diff options
author | 2019-04-12 10:19:57 +0200 | |
---|---|---|
committer | 2019-04-16 15:39:05 +0200 | |
commit | 98d9e858fa966bd7132cc21d65e4c89a97f4fe2d (patch) | |
tree | ec7d3679dcd52ccd979eea1d1648d1c26b6ac41b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: nVMX: Rename and split top-level consistency checks to match SDM (diff) | |
download | wireguard-linux-98d9e858fa966bd7132cc21d65e4c89a97f4fe2d.tar.xz wireguard-linux-98d9e858fa966bd7132cc21d65e4c89a97f4fe2d.zip |
KVM: nVMX: Return -EINVAL when signaling failure in pre-VM-Entry helpers
Convert all top-level nested VM-Enter consistency check functions to
return 0/-EINVAL instead of failure codes, since now they can only
ever return one failure code.
This also does not give the false impression that failure information is
always consumed and/or relevant, e.g. vmx_set_nested_state() only
cares whether or not the checks were successful.
nested_check_host_control_regs() can also now be inlined into its caller,
nested_vmx_check_host_state, since the two have effectively become the
same function.
Based on a patch by Sean Christopherson.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions