On Fri, Aug 25, 2023 at 13:52:58 +0100, Daniel P. Berrangé wrote:
If the CPU family/model/stepping are provided on the command line,
but
the firmware is being automatically extracted from the libvirt guest,
we try to build the VMSA too early. This leads to an exception trying
to parse the firmware that has not been loaded yet. We must delay
building the VMSA in that scenario.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
tools/virt-qemu-sev-validate | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>