Hi Richard,
I fixed the tsan-build issue but now seeing another issue with “—disable-tcg” option for cross builds xen. Here is the build failure message:
"include/tcg/oversized-guest.h:10:10: fatal error: tcg-target-reg-bits.h: No such file or directory
10 | #include "tcg-target-reg-bits.h”
Full log for build fail:
https://gitlab.com/Vikram.garhwal/qemu-ioreq/-/jobs/4416773231.
This is my last patch which enables xen build for ARM:
https://gitlab.com/Vikram.garhwal/qemu-ioreq/-/commit/6f6667217bfc14ff5504ee5fdee23a948d60fb7f.
This seems something missing in disable-tcg config for ARM builds. Any hints on what might be causing this TCG issue?
Thanks in advance for your help!
Regards,
Vikram
From: Richard Henderson <richard.henderson@linaro.org>
Date: Wednesday, May 3, 2023 at 11:35 PM
To: Garhwal, Vikram <vikram.garhwal@amd.com>, Stefano Stabellini <sstabellini@kernel.org>, peter.maydell@linaro.org <peter.maydell@linaro.org>
Cc: qemu-devel@nongnu.org <qemu-devel@nongnu.org>
Subject: Re: [PULL v3 0/10] xenpvh3-tag
On 5/4/23 06:18, Vikram Garhwal wrote:
> Hi Richard,
>
> On 5/3/23 12:47 AM, Richard Henderson wrote:
>> On 5/3/23 01:12, Stefano Stabellini wrote:
>>> Hi Peter,
>>>
>>> Vikram fixed the gitlab test problem, so now all the tests should
>>> succeed. There were no changes to the QEMU code. I am resending the pull
>>> request (I rebased it on staging, no conflicts.)
>>>
>>> For reference this was the previous pull request:
>>> https://marc.info/?l=qemu-devel&m=167641819725964
>>>
>>> Cheers,
>>>
>>> Stefano
>>>
>>>
>>> The following changes since commit 4ebc33f3f3b656ebf62112daca6aa0f8019b4891:
>>>
>>> Merge tag 'pull-tcg-20230502-2' of
https://gitlab.com/rth7680/qemu into staging
>>> (2023-05-02 21:18:45 +0100)
>>>
>>> are available in the Git repository at:
>>>
>>> https://gitlab.com/sstabellini/qemu xenpvh3-tag
>>>
>>> for you to fetch changes up to bc618c54318cbc2fcb9decf9d4c193cc336a0dbc:
>>>
>>> meson.build: enable xenpv machine build for ARM (2023-05-02 17:04:54 -0700)
>>>
>>> ----------------------------------------------------------------
>>> Stefano Stabellini (5):
>>> hw/i386/xen/xen-hvm: move x86-specific fields out of XenIOState
>>> xen-hvm: reorganize xen-hvm and move common function to xen-hvm-common
>>> include/hw/xen/xen_common: return error from xen_create_ioreq_server
>>> hw/xen/xen-hvm-common: skip ioreq creation on ioreq registration failure
>>> meson.build: do not set have_xen_pci_passthrough for aarch64 targets
>>>
>>> Vikram Garhwal (5):
>>> hw/i386/xen/: move xen-mapcache.c to hw/xen/
>>> hw/i386/xen: rearrange xen_hvm_init_pc
>>> hw/xen/xen-hvm-common: Use g_new and error_report
>>> hw/arm: introduce xenpvh machine
>>> meson.build: enable xenpv machine build for ARM
>>
>> Errors in CI:
>>
>> https://gitlab.com/qemu-project/qemu/-/jobs/4216392008#L2381
>>
>> ../hw/i386/xen/xen-hvm.c:303:9: error: implicit declaration of function 'error_report'
>> is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>> error_report("relocate_memory %lu pages from GFN %"HWADDR_PRIx
> Thanks for notifying this. I am not sure why this particular build is failing.
> error_report() is defined in "|qemu/error-report.h" and the header should be included as
> |||it builds fine for other configs.
You removed qemu/error-report.h in
xen-hvm: reorganize xen-hvm and move common function to xen-hvm-common
within this patch set.
r~