mbox series

[0/4] Fix filename reporting in guest asserts

Message ID 20220615193116.806312-1-coltonlewis@google.com (mailing list archive)
Headers show
Series Fix filename reporting in guest asserts | expand

Message

Colton Lewis June 15, 2022, 7:31 p.m. UTC
Fix filename reporting in guest asserts by way of abstracting out
magic numbers and introducing new reporting macros to report
consistently with less duplication.

Colton Lewis (4):
  KVM: selftests: enumerate GUEST_ASSERT arguments
  KVM: selftests: Increase UCALL_MAX_ARGS to 7
  KVM: selftests: Write REPORT_GUEST_ASSERT macros to pair with
    GUEST_ASSERT
  KVM: selftests: Fix filename reporting in guest asserts

 .../selftests/kvm/aarch64/arch_timer.c        | 12 ++--
 .../selftests/kvm/aarch64/debug-exceptions.c  |  4 +-
 .../testing/selftests/kvm/aarch64/vgic_irq.c  |  4 +-
 .../selftests/kvm/include/ucall_common.h      | 66 +++++++++++++++++--
 .../testing/selftests/kvm/memslot_perf_test.c |  4 +-
 tools/testing/selftests/kvm/steal_time.c      |  3 +-
 .../kvm/system_counter_offset_test.c          |  3 +-
 tools/testing/selftests/kvm/x86_64/amx_test.c |  3 +-
 .../testing/selftests/kvm/x86_64/cpuid_test.c |  3 +-
 .../kvm/x86_64/cr4_cpuid_sync_test.c          |  2 +-
 .../kvm/x86_64/emulator_error_test.c          |  3 +-
 .../testing/selftests/kvm/x86_64/evmcs_test.c |  3 +-
 .../selftests/kvm/x86_64/hyperv_clock.c       |  3 +-
 .../selftests/kvm/x86_64/hyperv_features.c    |  6 +-
 .../selftests/kvm/x86_64/hyperv_svm_test.c    |  3 +-
 .../selftests/kvm/x86_64/kvm_clock_test.c     |  3 +-
 .../selftests/kvm/x86_64/kvm_pv_test.c        |  3 +-
 .../selftests/kvm/x86_64/set_boot_cpu_id.c    |  4 +-
 .../testing/selftests/kvm/x86_64/state_test.c |  3 +-
 .../selftests/kvm/x86_64/svm_int_ctl_test.c   |  2 +-
 .../selftests/kvm/x86_64/svm_vmcall_test.c    |  2 +-
 .../selftests/kvm/x86_64/tsc_msrs_test.c      |  4 +-
 .../selftests/kvm/x86_64/userspace_io_test.c  |  4 +-
 .../kvm/x86_64/userspace_msr_exit_test.c      |  5 +-
 .../kvm/x86_64/vmx_apic_access_test.c         |  3 +-
 .../kvm/x86_64/vmx_close_while_nested_test.c  |  2 +-
 .../selftests/kvm/x86_64/vmx_dirty_log_test.c |  3 +-
 .../x86_64/vmx_invalid_nested_guest_state.c   |  2 +-
 .../kvm/x86_64/vmx_nested_tsc_scaling_test.c  |  2 +-
 .../kvm/x86_64/vmx_preemption_timer_test.c    |  3 +-
 .../kvm/x86_64/vmx_tsc_adjust_test.c          |  2 +-
 .../selftests/kvm/x86_64/xen_shinfo_test.c    |  2 +-
 .../selftests/kvm/x86_64/xen_vmcall_test.c    |  2 +-
 33 files changed, 100 insertions(+), 73 deletions(-)

Comments

Sean Christopherson July 20, 2022, 5:42 p.m. UTC | #1
On Wed, Jun 15, 2022, Colton Lewis wrote:
> Fix filename reporting in guest asserts by way of abstracting out
> magic numbers and introducing new reporting macros to report
> consistently with less duplication.

FYI, this is queued up for 5.20.