OSDN Git Service

i8259: generalize statistics into common code
authorPeter Xu <peterx@redhat.com>
Sun, 10 Dec 2017 06:38:17 +0000 (14:38 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Dec 2017 08:30:32 +0000 (09:30 +0100)
commit1b23190aba72a974c9a08496bf6d45e14b60087a
tree4c6aadf19e7e8015fab847eb700941b38efafa79
parentf260f7361ca6caf7bb672195c50db99eff26b856
i8259: generalize statistics into common code

It was only for userspace i8259.  Move it to general code so that
kvm-i8259 can also use it in the future.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20171210063819.14892-4-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/intc/i8259.c
hw/intc/i8259_common.c
include/hw/isa/i8259_internal.h