hw/i386: Simplify ioapic_init_gsi()
commit14a1bb48ea48d541ea6f373c12fb7e88d2c89d8f
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 13 Dec 2019 11:11:45 +0000 (13 12:11 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Dec 2019 18:33:51 +0000 (17 19:33 +0100)
tree5aad22356b81519c895610538c10bf8ffd96abbf
parent64c033badda77d81d7c949fc6e3ed6c72dd5c92e
hw/i386: Simplify ioapic_init_gsi()

All callers of ioapic_init_gsi() provide a parent. We want new
uses to follow the same good practice and provide the parent
name, so do not make this optional: assert the parent name is
provided, and simplify the code.

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