Revert "hw/i386/pc_sysfw: Inline pc_system_flash_create() and remove it"
authorBernhard Beschow <shentey@gmail.com>
Mon, 26 Feb 2024 21:59:08 +0000 (22:59 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Mar 2024 21:56:55 +0000 (17:56 -0400)
commit0fbe8d7c4c7e44fc86986217dc3ab65ec4e6a302
tree70ae14dc6b58e3fb4887b4035e543e1a9d7153f9
parente4e98c7eebfab0f844784cdf5c108bb3d60ac9a2
Revert "hw/i386/pc_sysfw: Inline pc_system_flash_create() and remove it"

Commit 6f6ad2b24582 "hw/i386/pc: Confine system flash handling to pc_sysfw"
causes a regression when specifying the property `-M pflash0` in the PCI PC
machines:
  qemu-system-x86_64: Property 'pc-q35-9.0-machine.pflash0' not found
In order to revert the commit, the commit below must be reverted first.

This reverts commit cb05cc16029bb0a61ac5279ab7b3b90dcf2aa69f.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20240226215909.30884-2-shentey@gmail.com>
Tested-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc_sysfw.c