This moves interrupts allocation business from SPAPR to XICS
and makes use of it.
Changes:
v3:
* replaces static array of descriptors in SPAPR PHB with GHashTable
* implements migration of hash table via temporary array
v2:
* s/server/source/
* fixed typos, code style, added an assert
* added patch for spapr_pci for better IRQ reuse for MSI/MSIX
There is just one source at the moment. We might create one
per PHB and one per VIO device or VIO bus but I do not see any
immediate profit from it.
Juan, Peter, you are cc-ed because 8/9 introduces new
VMSTATE_STRUCT_VARRAY_ALLOC
and 9/9 makes use of it and checkpatch.pl thinks you might be right people
to get opinion about this from.
Please comment. Thanks!