Re: [kvm-unit-tests PATCH v2 3/3] x86/msr.c generalize to any input msr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27/09/21 17:30, ahmeddan@xxxxxxxxxx wrote:
From: Daniele Ahmed <ahmeddan@xxxxxxxxxx>

If an MSR description is provided as input by the user,
run the test against that MSR. This allows the user to
run tests on custom MSR's.

Otherwise run all default tests.

This is to validate custom MSR handling in user space
with an easy-to-use tool. This kvm-unit-test submodule
is a perfect fit. I'm extending it with a mode that
takes an MSR index and a value to test arbitrary MSR accesses.

Signed-off-by: Daniele Ahmed <ahmeddan@xxxxxxxxxx>

I don't understand; is this a debugging tool, or is it meant to be driven by another test suite?

I'm not sure this fits the purpose of kvm-unit-tests very well, though. An alternative is BITS (https://github.com/biosbits/bits/), which is relatively easy to use and comes with Python bindings to RDMSR/WRMSR.

Paolo




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux