qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] tcg: Fix complilation with TCG


From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-devel] [PATCH] tcg: Fix complilation with TCG
Date: Wed, 22 Nov 2017 09:32:04 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 11/22/2017 05:41 AM, Juan Quintela wrote:
> This commit started use tb_unlock() and tlb_set_dirty() on non TCG
> code.  Add the function as stubs.
> 
> commit 27266271977c5a30f2f7d493e042be1897827bdd
> Author: Peter Maydell <address@hidden>
> Date:   Mon Nov 20 18:08:27 2017 +0000
> 
>     exec.c: Factor out before/after actions for notdirty memory writes
>     ....
> 

Maybe pasting the sha-1 is enough "Since 272662719 those stubs are missing".

> Signed-off-by: Juan Quintela <address@hidden>

Updating the subject ("accel: fix compiling without TCG"?):

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>

> ---
>  accel/stubs/tcg-stub.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c
> index 5dd480b1a2..ee575a8718 100644
> --- a/accel/stubs/tcg-stub.c
> +++ b/accel/stubs/tcg-stub.c
> @@ -20,3 +20,11 @@
>  void tb_flush(CPUState *cpu)
>  {
>  }
> +
> +void tb_unlock(void)
> +{
> +}
> +
> +void tlb_set_dirty(CPUState *cpu, target_ulong vaddr)
> +{
> +}
> 



reply via email to

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