Daniel P. Berrangé 676df5b358 tools: support automatically constructing SEV-ES vCPU state
The VMSA files contain the expected CPU register state for the VM. Their
content varies based on a few pieces of the stack

  - AMD CPU architectural initial state
  - KVM hypervisor VM CPU initialization
  - QEMU userspace VM CPU initialization
  - AMD CPU SKU (family/model/stepping)

The first three pieces of information we can obtain through code
inspection. The last piece of information we can take on the command
line. This allows a user to validate a SEV-ES guest merely by providing
the CPU SKU information, using --cpu-family, --cpu-model,
--cpu-stepping. This avoids the need to obtain or construct VMSA files
directly.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-11-15 11:09:30 +00:00
..
2022-01-21 10:17:11 +01:00
2022-05-24 12:19:16 +02:00
2022-06-22 15:29:44 +02:00
2022-06-22 15:29:44 +02:00
2022-04-07 15:10:26 +02:00
2022-04-07 15:10:26 +02:00
2022-05-24 12:19:16 +02:00
2022-04-01 16:33:19 +02:00
2022-03-08 17:40:47 +01:00
2022-04-01 16:33:19 +02:00
2022-03-08 17:40:47 +01:00
2022-04-01 16:33:20 +02:00
2022-04-01 16:33:20 +02:00
2022-03-10 17:52:07 +01:00
2022-04-01 16:33:20 +02:00
2022-04-14 11:54:28 +02:00
2022-04-07 15:10:26 +02:00
2022-03-08 17:40:47 +01:00
2022-07-18 11:10:55 +02:00
2022-07-18 11:10:55 +02:00
2022-05-24 12:19:15 +02:00