summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-06-02 12:24:18 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-11 11:46:28 -0400
commit2128e30b01867a4d5e41bbaba8e35bcca7537f3b (patch)
treedd3667daba0196b3fd70cd589113de80a8b647df /tools/perf/scripts/python/net_dropmonitor.py
parent0ce74180f306981534d023199017a90b77a92004 (diff)
downloadlinux-2128e30b01867a4d5e41bbaba8e35bcca7537f3b.tar.gz
linux-2128e30b01867a4d5e41bbaba8e35bcca7537f3b.zip
KVM: selftests: Dedup MSR index list helpers, simplify dedicated test
Consolidate the helper for retrieving the list of save/restore MSRs and the list of feature MSRs, and use the common helpers in the related get_msr_index_features test. Switching to the common helpers eliminates the testcase that KVM returns the same -E2BIG result if the input number of MSRs is '1' versus '0', but considered that testcase isn't very interesting, e.g. '0' and '1' are equally arbitrary, and certainly not worth the additional code. Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions