[Top][All Lists]

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

Re: [PATCH 05/10] hw/arm/sbsa-ref: Include missing 'sysemu/kvm.h' header

From: Richard Henderson
Subject: Re: [PATCH 05/10] hw/arm/sbsa-ref: Include missing 'sysemu/kvm.h' header
Date: Fri, 7 Apr 2023 21:24:36 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 4/5/23 09:04, Philippe Mathieu-Daudé wrote:
"sysemu/kvm.h" is indirectly pulled in. Explicit its
inclusion to avoid when refactoring include/:

   hw/arm/sbsa-ref.c:693:9: error: implicit declaration of function 
'kvm_enabled' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
     if (kvm_enabled()) {

Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
  hw/arm/sbsa-ref.c | 1 +
  1 file changed, 1 insertion(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]