hw/i386: De-duplicate gsi_handler() to remove kvm_pc_gsi_handler()
commit64c033badda77d81d7c949fc6e3ed6c72dd5c92e
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 13 Dec 2019 11:07:36 +0000 (13 12:07 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Dec 2019 18:33:51 +0000 (17 19:33 +0100)
tree9c500836896de044d00713bfe546bd564c2944f4
parent6c730e4af9b64b6c83b233f285ec3649747f7eda
hw/i386: De-duplicate gsi_handler() to remove kvm_pc_gsi_handler()

Both gsi_handler() and kvm_pc_gsi_handler() have the same content,
except one comment. Move the comment, and de-duplicate the code.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/kvm/ioapic.c
hw/i386/pc.c
hw/i386/x86.c
include/sysemu/kvm.h