OSDN Git Service

hw/i386/pc_piix: create PIIX4_PM device directly instead of using piix4_pm_initfn()
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sat, 28 May 2022 09:02:11 +0000 (10:02 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 11 Jun 2022 09:44:36 +0000 (11:44 +0200)
commitee7318bc09d25aa250f0e58ac1eebf87abc88b03
treea4a7ddd18fcfd92e6d16e6ca016900cd3c109344
parentb49e94424cbdc2f02725dcd37b8916ff64f74dcd
hw/i386/pc_piix: create PIIX4_PM device directly instead of using piix4_pm_initfn()

Now that all external logic has been removed from piix4_pm_initfn() the PIIX4_PM
device can be instantiated directly.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220528091934.15520-11-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/i386/pc_piix.c