mbox series

[0/2] KVM: selftests: Introduce steal-time tests for x86_64 and AArch64

Message ID 20200313155644.29779-1-drjones@redhat.com (mailing list archive)
Headers show
Series KVM: selftests: Introduce steal-time tests for x86_64 and AArch64 | expand

Message

Andrew Jones March 13, 2020, 3:56 p.m. UTC
Test steal/stolen-time on x86 and AArch64 to make sure what gets
reported to the guest is consistent with run-delay.

The first patch of this series is just kvm selftests API cleanup. The
series is based on kvm/queue and some in-flight patches that are also
based on kvm/queue
 KVM: selftests: Share common API documentation
 KVM: selftests: Enable printf format warnings for TEST_ASSERT
 KVM: selftests: Use consistent message for test skipping
 KVM: selftests: s390x: Provide additional num-guest-pages adjustment

Thanks,
drew


Andrew Jones (2):
  KVM: selftests: virt_map should take npages, not size
  KVM: selftests: Introduce steal-time test

 tools/testing/selftests/kvm/.gitignore        |   2 +
 tools/testing/selftests/kvm/Makefile          |  12 +-
 .../selftests/kvm/demand_paging_test.c        |   3 +-
 tools/testing/selftests/kvm/dirty_log_test.c  |   3 +-
 .../testing/selftests/kvm/include/kvm_util.h  |   7 +-
 .../testing/selftests/kvm/include/test_util.h |   1 +
 tools/testing/selftests/kvm/lib/kvm_util.c    |  17 +-
 tools/testing/selftests/kvm/lib/test_util.c   |  15 +
 tools/testing/selftests/kvm/steal_time.c      | 352 ++++++++++++++++++
 .../kvm/x86_64/set_memory_region_test.c       |   2 +-
 .../selftests/kvm/x86_64/vmx_dirty_log_test.c |  11 +-
 11 files changed, 401 insertions(+), 24 deletions(-)
 create mode 100644 tools/testing/selftests/kvm/steal_time.c

Comments

Paolo Bonzini March 14, 2020, 11:44 a.m. UTC | #1
On 13/03/20 16:56, Andrew Jones wrote:
> Test steal/stolen-time on x86 and AArch64 to make sure what gets
> reported to the guest is consistent with run-delay.
> 
> The first patch of this series is just kvm selftests API cleanup. The
> series is based on kvm/queue and some in-flight patches that are also
> based on kvm/queue
>  KVM: selftests: Share common API documentation
>  KVM: selftests: Enable printf format warnings for TEST_ASSERT
>  KVM: selftests: Use consistent message for test skipping
>  KVM: selftests: s390x: Provide additional num-guest-pages adjustment
> 
> Thanks,
> drew
> 
> 
> Andrew Jones (2):
>   KVM: selftests: virt_map should take npages, not size
>   KVM: selftests: Introduce steal-time test
> 
>  tools/testing/selftests/kvm/.gitignore        |   2 +
>  tools/testing/selftests/kvm/Makefile          |  12 +-
>  .../selftests/kvm/demand_paging_test.c        |   3 +-
>  tools/testing/selftests/kvm/dirty_log_test.c  |   3 +-
>  .../testing/selftests/kvm/include/kvm_util.h  |   7 +-
>  .../testing/selftests/kvm/include/test_util.h |   1 +
>  tools/testing/selftests/kvm/lib/kvm_util.c    |  17 +-
>  tools/testing/selftests/kvm/lib/test_util.c   |  15 +
>  tools/testing/selftests/kvm/steal_time.c      | 352 ++++++++++++++++++
>  .../kvm/x86_64/set_memory_region_test.c       |   2 +-
>  .../selftests/kvm/x86_64/vmx_dirty_log_test.c |  11 +-
>  11 files changed, 401 insertions(+), 24 deletions(-)
>  create mode 100644 tools/testing/selftests/kvm/steal_time.c
> 

Queued, thanks.

Paolo