I decided to make this small patchset in order to try to push some of my changes before 2.4 is out. Idea of first patch of this set came during vGICv3 implementation. In order to be able to upstream it earlier i decided to make it doing something useful and refactored GICv2 code.
This patchset contains no functional enhancements. Only cleanup and refactor. Pavel Fedin (3): Merge memory_region_init_reservation() into memory_region_init_io() hw/arm/gic: Kill code duplication Introduce gic_class_name() instead of repeating condition hw/arm/virt.c | 7 ++--- hw/cpu/a15mpcore.c | 8 ++---- hw/intc/arm_gic.c | 61 +++++++++++----------------------------- hw/intc/arm_gic_common.c | 37 ++++++++++++++++++++++++ hw/intc/arm_gic_kvm.c | 28 +----------------- include/exec/memory.h | 14 +++++++-- include/hw/intc/arm_gic_common.h | 3 ++ memory.c | 10 +------ target-arm/kvm_arm.h | 5 ++++ 9 files changed, 79 insertions(+), 94 deletions(-) -- 1.9.5.msysgit.0