qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] hax_enabled() cannot be called in vl.c


From: Thomas Huth
Subject: Re: [Qemu-devel] hax_enabled() cannot be called in vl.c
Date: Tue, 4 Dec 2018 16:08:04 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 2018-12-04 15:45, Peter Maydell wrote:
> In vl.c we do this:
> 
>     if (hax_enabled()) {
>         hax_sync_vcpus();
>     }
> 
> But hax_enabled() varies depending on CONFIG_HAX: if that is
> not defined then it is "#define hax_enabled() (0)", otherwise
> it is a function. And CONFIG_HAX is a per-target configuration
> define, only set for i386-softmmu and x86_64-softmmu.

I guess we should add CONFIG_HAX to include/exec/poison.h, just like
CONFIG_KVM can already be found there...?

 Thomas



reply via email to

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