qemu-trivial
[Top][All Lists]
Advanced

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

Re: [PATCH] target/i386: Include 'hw/i386/apic.h' locally


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] target/i386: Include 'hw/i386/apic.h' locally
Date: Wed, 29 Sep 2021 18:29:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0

On 9/29/21 18:23, Laurent Vivier wrote:
> Le 29/09/2021 à 18:06, Philippe Mathieu-Daudé a écrit :
>> On 9/29/21 17:16, Laurent Vivier wrote:
>>> Le 29/09/2021 à 17:00, Laurent Vivier a écrit :
>>>> Le 29/09/2021 à 16:08, Philippe Mathieu-Daudé a écrit :
>>>>> On 9/16/21 00:05, Paolo Bonzini wrote:
>>>>>> On 02/09/21 17:22, Philippe Mathieu-Daudé wrote:
>>>>>>> Instead of including a sysemu-specific header in "cpu.h"
>>>>>>> (which is shared with user-mode emulations), include it
>>>>>>> locally when required.
>>>>>>>
>>>>>>> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
>>>>>>> ---
>>>>>>
>>>>>> Acked-by: Paolo Bonzini <pbonzini@redhat.com>
>>>>>
>>>>> Thank you, Cc'ing qemu-trivial@ :)
>>>>>
>>>>
>>>> Applied to my trivial-patches branch.
>>>>
>>>
>>> We have a problem:
>>>
>>> .../target/i386/tcg/sysemu/seg_helper.c:145:9: error: implicit declaration 
>>> of function
>>> 'apic_poll_irq' [-Werror=implicit-function-declaration]
>>>   145 |         apic_poll_irq(cpu->apic_state);
>>>       |         ^~~~~~~~~~~~~
>>> .../target/i386/tcg/sysemu/seg_helper.c:145:9: error: nested extern 
>>> declaration of 'apic_poll_irq'
>>> [-Werror=nested-externs]
>>
>> Hmm I'll check what changed since I sent that. It was working the day
>> Paolo Acked, because have the patch rebased / tested on top of commit
>> c99e34e537f ("Merge remote-tracking branch
>> 'remotes/vivier2/tags/linux-user-for-6.2-pull-request' into staging").
>>
>> I should have rebased/retested today before Cc'ing you, sorry.
>>
> 
> On top of c99e34e537f I have the same error...

The problem is 0792e6c88d4 ("target/i386: Move
x86_cpu_exec_interrupt() under sysemu/ folder").



reply via email to

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