mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
piolist: add owner argument to initialization functions and pass devices
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
3cd2cf4375
commit
db10ca9057
10 changed files with 17 additions and 12 deletions
|
@ -112,7 +112,7 @@ static void wdt_ib700_realize(DeviceState *dev, Error **errp)
|
|||
|
||||
s->timer = qemu_new_timer_ns(vm_clock, ib700_timer_expired, s);
|
||||
|
||||
portio_list_init(port_list, wdt_portio_list, s, "ib700");
|
||||
portio_list_init(port_list, OBJECT(s), wdt_portio_list, s, "ib700");
|
||||
portio_list_add(port_list, isa_address_space_io(&s->parent_obj), 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue