i386: factor out x86_firmware_configure()
commit966f1ca56ffe6e2c4d1333df59bcec233587aabc
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 25 Apr 2022 13:50:50 +0000 (25 15:50 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 27 Apr 2022 05:51:01 +0000 (27 07:51 +0200)
tree26d74437b73252dd06ae1b3df2a15dacc2c0b9f4
parent2aa6a39bc8ec1b94d926fb5a23483a23ff895a2a
i386: factor out x86_firmware_configure()

move sev firmware setup to separate function so it can be used from
other code paths.  No functional change.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20220425135051.551037-3-kraxel@redhat.com>
hw/i386/pc_sysfw.c
include/hw/i386/x86.h