qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v14 15/22] cpu: tcg_ops: move to tcg-cpu-ops.h, keep a pointe


From: Richard Henderson
Subject: Re: [PATCH v14 15/22] cpu: tcg_ops: move to tcg-cpu-ops.h, keep a pointer in CPUClass
Date: Thu, 28 Jan 2021 14:31:15 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 1/27/21 11:28 PM, Claudio Fontana wrote:
> +    /*
> +     * NB: this should be covered by CONFIG_TCG, but it is unsafe to do it 
> here,
> +     * as this header is included by both ss_specific and ss_common code,
> +     * leading to potential differences in the data structure between 
> modules.
> +     * We could always keep it last, but it seems safer to just leave this
> +     * pointer NULL for non-TCG.
> +     */
> +    struct TCGCPUOps *tcg_ops;

Sorry, I'm going to unqueue the patch set.

I first thought this was fixing up something done already, fixing an existing 
bug.

But it's something done in patch 1, and therefore the patch set needs to be
re-worked to use this pointer to begin, for the exact reasons detailed above.
Otherwise it would appear this breaks bisection.


r~



reply via email to

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