On 3/7/25 13: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
- from exec/cpu-all.h | memory_ldst_phys.h.inc
     - ldq_phys

v2
- remove osdep from header
- use hardcoded buffer size for syndbg, assuming page size is always 4Kb.

v3
- fix assert for page size.

v4
- use KiB unit

Pierrick Bouvier (7):
   hw/hyperv/hv-balloon-stub: common compilation unit
   hw/hyperv/hyperv.h: header cleanup
   hw/hyperv/vmbus: common compilation unit
   hw/hyperv/hyperv-proto: move SYNDBG definition from target/i386
   hw/hyperv/syndbg: common compilation unit
   hw/hyperv/balloon: common balloon compilation units
   hw/hyperv/hyperv_testdev: common compilation unit

  include/hw/hyperv/hyperv-proto.h | 12 ++++++++
  include/hw/hyperv/hyperv.h       |  3 +-
  target/i386/kvm/hyperv-proto.h   | 12 --------
  hw/hyperv/syndbg.c               | 11 +++++--
  hw/hyperv/vmbus.c                | 50 ++++++++++++++++----------------
  hw/hyperv/meson.build            |  9 +++---
  6 files changed, 52 insertions(+), 45 deletions(-)


I've been able to address comments and conver last compilation unit missing (hw/hyperv/hyperv.c).

However, another series is needed to make this compile.
Thus, I'll wait for this to be merged before sending the v5 here.

Reply via email to