]> git.proxmox.com Git - mirror_qemu.git/commit
hw/acpi/piix4: move xen_enabled() logic from piix4_pm_init() to piix4_pm_realize()
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:43:54 +0000 (11:43 +0200)
commit3f0efcac43707c02525b5bbaf996c6bf80e2f706
tree69259763fc8469f75d36f8c6a1ce77fa3ef4a4e5
parent0c285e01280d9bccda36717bad369082356cf8f4
hw/acpi/piix4: move xen_enabled() logic from piix4_pm_init() to piix4_pm_realize()

This logic can be included as part of piix4_pm_realize() and does not need to
be handled externally.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Ani Sinha <ani@anisinha.ca>
Message-Id: <20220528091934.15520-2-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/acpi/piix4.c