Re: [kvm-unit-tests PATCH] kvm-unit-tests: Gtests Framework and Example Tests

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

 



On 14/02/2018 22:27, Ken Hofsass wrote:
> On Wed, Feb 14, 2018 at 10:10 AM, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
>>
>> On 25/01/2018 19:48, Ken Hofsass wrote:
>>> Test framework for KVM and the Linux kernel that enables standalone
>>> tests to exercise host, guest, and nested guest functionality without
>>> requiring a separate .flat file. The framework and tests are written
>>> in C and assembly.
>>>
>>> Signed-off-by: Ken Hofsass <hofsass@xxxxxxxxxx>
>>
>> I just have a couple questions before looking a bit more deeper in the
>> library:
>>
>> - is it expected that vmx_tsc_adjust_test fails?
> 
> No, I was definitely expecting it to succeed. When I build a kernel
> from the current HEAD of either kvm/next and also kvm/queue,
> vmx_tsc_adjust_test succeeds with exit code 0 and output similar to
> this:
> 
>   # ./vmx_tsc_adjust_test
>   IA32_TSC_ADJUST is -4294968584 (-1 * TSC_ADJUST_VALUE + -1288).
>   IA32_TSC_ADJUST is -8589940286 (-2 * TSC_ADJUST_VALUE + -5694).
>   IA32_TSC_ADJUST is -8589940286 (-2 * TSC_ADJUST_VALUE + -5694).
> 
> What error message does it print?

Nothing else, it's okay.

I've finally got round to cleaning up all the code (down from 12000 to
6800 lines :)) for inclusion in Linux's tools/ repo.  Next step is
adopting the harness from there.

If you have any other test you want to contribute, feel free to send
them here!

Paolo

>> - why are the tests linked statically?
> 
> Sorry, that is a development artifact. They can be built without
> static.  I will remove that flag when I resubmit this as segmented as
> smaller patches.



[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