summaryrefslogtreecommitdiffstats
path: root/test/sev.c
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-09-01 23:53:36 +0200
committerLouis Burda <quent.burda@gmail.com>2022-09-01 23:54:01 +0200
commit0a23cb0a512c3984aa0d68f4ec4a5c0c0d55a430 (patch)
tree0c31f5c79ba61ea2de83b6caebc4f1fd7b40ccdc /test/sev.c
parent29054b8937435a4e736d14b26329eafc759eb152 (diff)
downloadcachepc-0a23cb0a512c3984aa0d68f4ec4a5c0c0d55a430.tar.gz
cachepc-0a23cb0a512c3984aa0d68f4ec4a5c0c0d55a430.zip
sev-es: Fixed OOM symptom, prime & probe working (but not directly around vmrun yet)
Diffstat (limited to 'test/sev.c')
-rwxr-xr-xtest/sev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sev.c b/test/sev.c
index 768b4f6..e6da94c 100755
--- a/test/sev.c
+++ b/test/sev.c
@@ -357,7 +357,7 @@ sev_kvm_init(struct kvm *kvm, size_t ramsize, void *code_start, void *code_stop)
if (ret != GSTATE_RUNNING)
errx(1, "Bad guest state: %s", sev_gstate_str(fwerr));
- /* Create virtual cpu */
+ /* Create virtual cpu core */
kvm->vcpufd = ioctl(kvm->vmfd, KVM_CREATE_VCPU, 0);
if (kvm->vcpufd < 0) err(1, "KVM_CREATE_VCPU");