On 3/7/25 14:06, Philippe Mathieu-Daudé wrote:
On 7/3/25 22:56, Pierrick Bouvier wrote:
Work towards having a single binary, by removing duplicated object files.
hw/hyperv/hyperv.c was excluded at this time, because it depends on target
dependent symbols:
- from system/kvm.h
- kvm_check_extension
- kvm_vm_ioctl
Bug, these should be declared outside of COMPILING_PER_TARGET.
Yes, I noticed you solved it this way on one of your series.
In the end, since QEMU does not have any specific boundaries between
subsystems (i.e. no proper libraries with private/public symbols), we
are mostly free to include any symbol we see in an header as long as it
does not use a target dependent type which changes the signature.
- from exec/cpu-all.h | memory_ldst_phys.h.inc
- ldq_phys
Yeah, not an easy one.