Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
launch/sev: separate KVM ENC region registration from update_data
By registering KvmEncRegion, we can inform KVM about all memory owned by the SEV virtual machine. On the other hand, update_data can be utilized to encrypt the data we load into this memory. It's important to note that idle regions may not require encryption as they can be initialized by the VM's firmware or OS. In the current API, these two operations are bundled together, resulting in unnecessary time consumption. Consequently, I have introduced two separate methods. Signed-off-by: Fuu <[email protected]>
- Loading branch information