diff options
author | 2024-04-04 08:13:14 -0400 | |
---|---|---|
committer | 2024-04-11 13:08:22 -0400 | |
commit | 546d714b0880f20572d21ece5b9544c0e37a7a49 (patch) | |
tree | 86c5504e9222e8372f3061f58d4cf09329a8fe92 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: use u64_to_user_ptr() (diff) | |
download | linux-rng-546d714b0880f20572d21ece5b9544c0e37a7a49.tar.xz linux-rng-546d714b0880f20572d21ece5b9544c0e37a7a49.zip |
KVM: introduce new vendor op for KVM_GET_DEVICE_ATTR
Allow vendor modules to provide their own attributes on /dev/kvm.
To avoid proliferation of vendor ops, implement KVM_HAS_DEVICE_ATTR
and KVM_GET_DEVICE_ATTR in terms of the same function. You're not
supposed to use KVM_GET_DEVICE_ATTR to do complicated computations,
especially on /dev/kvm.
Reviewed-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Isaku Yamahata <isaku.yamahata@intel.com>
Message-ID: <20240404121327.3107131-5-pbonzini@redhat.com>
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