mbox series

[v2,0/8] hyperv: refactor HvSintRoute management

Message ID 20180921081836.29230-1-rkagan@virtuozzo.com (mailing list archive)
Headers show
Series hyperv: refactor HvSintRoute management | expand

Message

Roman Kagan Sept. 21, 2018, 8:18 a.m. UTC
This series modifies the management of HvSintRoute, which is an
important building block in Hyper-V emulation infrastructure, to make it
easier to maintain and enhance, and paves the way to the more complete
Synthetic Interrupt Controller (SynIC) emulation.

v1 -> v2:
- include two more cosmetic patches

Roman Kagan (8):
  hyperv_testdev: refactor for better maintainability
  hyperv_testdev: drop unnecessary includes
  hyperv: cosmetic: g_malloc -> g_new
  hyperv: synic: only setup ack notifier if there's a callback
  hyperv: allow passing arbitrary data to sint ack callback
  hyperv: address HvSintRoute by X86CPU pointer
  hyperv: make HvSintRoute reference-counted
  hyperv: rename kvm_hv_sint_route_set_sint

 target/i386/hyperv.h     |  23 +++-----
 hw/misc/hyperv_testdev.c | 120 ++++++++++++++++++---------------------
 target/i386/hyperv.c     |  80 +++++++++++++++++++-------
 3 files changed, 122 insertions(+), 101 deletions(-)