[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f998da41-c75d-0afa-02cd-e2e5d8f0f546@redhat.com>
Date: Mon, 20 May 2019 12:03:08 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Thomas Huth <thuth@...hat.com>,
Radim Krčmář <rkrcmar@...hat.com>,
linux-kselftest@...r.kernel.org, kvm@...r.kernel.org
Cc: Shuah Khan <shuah@...nel.org>, Andrew Jones <drjones@...hat.com>,
Peter Xu <peterx@...hat.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] KVM: selftests: Compile code with warnings enabled
On 17/05/19 11:04, Thomas Huth wrote:
> So far the KVM selftests are compiled without any compiler warnings
> enabled. That's quite bad, since we miss a lot of possible bugs this
> way. Let's enable at least "-Wall" and some other useful warning flags
> now, and fix at least the trivial problems in the code (like unused
> variables).
>
> Signed-off-by: Thomas Huth <thuth@...hat.com>
> ---
> v2:
> - Rebased to kvm/queue
> - Fix warnings in state_test.c and evmcs_test.c, too
>
> tools/testing/selftests/kvm/Makefile | 4 +++-
> tools/testing/selftests/kvm/dirty_log_test.c | 6 +++++-
> tools/testing/selftests/kvm/lib/kvm_util.c | 3 ---
> tools/testing/selftests/kvm/lib/x86_64/processor.c | 4 +---
> tools/testing/selftests/kvm/x86_64/cr4_cpuid_sync_test.c | 1 +
> tools/testing/selftests/kvm/x86_64/evmcs_test.c | 7 +------
> tools/testing/selftests/kvm/x86_64/platform_info_test.c | 1 -
> tools/testing/selftests/kvm/x86_64/smm_test.c | 3 +--
> tools/testing/selftests/kvm/x86_64/state_test.c | 7 +------
> .../selftests/kvm/x86_64/vmx_close_while_nested_test.c | 5 +----
> tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c | 5 ++---
> 11 files changed, 16 insertions(+), 30 deletions(-)
Queued, with a squashed fix to kvm_get_supported_hv_cpuid.
Paolo
Powered by blists - more mailing lists