diff options
author | Roy Hopkins <roy.hopkins@randomman.co.uk> | 2025-07-03 16:31:59 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-07-12 15:28:21 +0200 |
commit | 4c7f0976b0d2afc892c10f6cc503e8b4607115e2 (patch) | |
tree | e330fc1e2e604cd0f16d0fbcffd75c7de3b3c1ff /scripts/tracetool/backend/simple.py | |
parent | b0e8986668426dbd2bb3eee4c6e14fe6262ca34e (diff) | |
download | qemu-4c7f0976b0d2afc892c10f6cc503e8b4607115e2.zip qemu-4c7f0976b0d2afc892c10f6cc503e8b4607115e2.tar.gz qemu-4c7f0976b0d2afc892c10f6cc503e8b4607115e2.tar.bz2 |
i386/sev: Refactor setting of reset vector and initial CPU state
When an SEV guest is started, the reset vector and state are
extracted from metadata that is contained in the firmware volume.
In preparation for using IGVM to setup the initial CPU state,
the code has been refactored to populate vmcb_save_area for each
CPU which is then applied during guest startup and CPU reset.
Signed-off-by: Roy Hopkins <roy.hopkins@randomman.co.uk>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Stefano Garzarella <sgarzare@redhat.com>
Acked-by: Gerd Hoffman <kraxel@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com>
Link: https://lore.kernel.org/r/d3c2debca496c4366a278b135f951908f3b9c341.1751554099.git.roy.hopkins@randomman.co.uk
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/tracetool/backend/simple.py')
0 files changed, 0 insertions, 0 deletions