qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] hw/hyperv: remove duplication compilation units
@ 2025-03-07 19:09 Pierrick Bouvier
  2025-03-07 19:09 ` [PATCH v2 1/7] hw/hyperv/hv-balloon-stub: common compilation unit Pierrick Bouvier
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Pierrick Bouvier @ 2025-03-07 19:09 UTC (permalink / raw)
  To: qemu-devel
  Cc: philmd, Maciej S. Szmigiero, pierrick.bouvier, alex.bennee, kvm,
	Paolo Bonzini, Marcelo Tosatti, richard.henderson,
	manos.pitsidianakis

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.

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               | 10 +++++--
 hw/hyperv/vmbus.c                | 50 ++++++++++++++++----------------
 hw/hyperv/meson.build            |  9 +++---
 6 files changed, 51 insertions(+), 45 deletions(-)

-- 
2.39.5



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-03-07 19:34 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-07 19:09 [PATCH v2 0/7] hw/hyperv: remove duplication compilation units Pierrick Bouvier
2025-03-07 19:09 ` [PATCH v2 1/7] hw/hyperv/hv-balloon-stub: common compilation unit Pierrick Bouvier
2025-03-07 19:29   ` Richard Henderson
2025-03-07 19:09 ` [PATCH v2 2/7] hw/hyperv/hyperv.h: header cleanup Pierrick Bouvier
2025-03-07 19:29   ` Richard Henderson
2025-03-07 19:09 ` [PATCH v2 3/7] hw/hyperv/vmbus: common compilation unit Pierrick Bouvier
2025-03-07 19:30   ` Richard Henderson
2025-03-07 19:10 ` [PATCH v2 4/7] hw/hyperv/hyperv-proto: move SYNDBG definition from target/i386 Pierrick Bouvier
2025-03-07 19:30   ` Richard Henderson
2025-03-07 19:10 ` [PATCH v2 5/7] hw/hyperv/syndbg: common compilation unit Pierrick Bouvier
2025-03-07 19:32   ` Richard Henderson
2025-03-07 19:32   ` Pierrick Bouvier
2025-03-07 19:10 ` [PATCH v2 6/7] hw/hyperv/balloon: common balloon compilation units Pierrick Bouvier
2025-03-07 19:33   ` Richard Henderson
2025-03-07 19:10 ` [PATCH v2 7/7] hw/hyperv/hyperv_testdev: common compilation unit Pierrick Bouvier
2025-03-07 19:33   ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).