]> git.ipfire.org Git - thirdparty/qemu.git/commit
nubus: move slot bitmap checks from NubusDevice realize() to BusClass check_address()
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 24 Sep 2021 07:37:53 +0000 (08:37 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 29 Sep 2021 08:45:19 +0000 (10:45 +0200)
commitc10a576c19665a617ce00cb93afd115142b6a7af
tree92443de6caef818c2fff2d1395ad2b3691618000
parent03deab99401a57332d8f3bdba319a41eebc1d666
nubus: move slot bitmap checks from NubusDevice realize() to BusClass check_address()

Allow Nubus to manage the slot allocations itself using the BusClass check_address()
virtual function rather than managing this during NubusDevice realize().

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210924073808.1041-6-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/nubus/nubus-bus.c
hw/nubus/nubus-device.c