OSDN Git Service

i8259: move TYPE_INTERRUPT_STATS_PROVIDER upper
authorPeter Xu <peterx@redhat.com>
Sun, 10 Dec 2017 06:38:19 +0000 (14:38 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Dec 2017 08:30:32 +0000 (09:30 +0100)
commitb8c7723440324a7822acdb0b6f35c7ccb791862a
tree4d0f006635eb102d03eaec95748a3ad93eb13374
parente267d16496e3998f271767a80ff9b0cc43be8a35
i8259: move TYPE_INTERRUPT_STATS_PROVIDER upper

Now both classes (i8259, i8259-kvm) support this.  Move this upper to
the common class code.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20171210063819.14892-6-peterx@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/kvm/i8259.c
hw/intc/i8259.c
hw/intc/i8259_common.c