diff options
| author | Brijesh Singh <brijesh.singh@amd.com> | 2022-04-26 18:27:38 +0000 |
|---|---|---|
| committer | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2022-07-13 17:27:28 -0500 |
| commit | 078d6dae15511b67f4f92b921cb5e05757fbde31 (patch) | |
| tree | f10cfeae9ee06212888c80c771468be649c59687 /scripts/objdiff | |
| parent | 56149c8c43b691cd3a1a9850220a35c3a557591f (diff) | |
| download | cachepc-linux-078d6dae15511b67f4f92b921cb5e05757fbde31.tar.gz cachepc-linux-078d6dae15511b67f4f92b921cb5e05757fbde31.zip | |
KVM: SVM: Disallow registering memory range from HugeTLB for SNP guest
While creating the VM, userspace call the KVM_MEMORY_ENCRYPT_REG_REGION
ioctl to register the memory regions for the guest. This registered
memory region is typically used as a guest RAM. Later, the guest may
issue the page state change (PSC) request that will require splitting
the large page into smaller page. If the memory is allocated from the
HugeTLB then hypervisor will not be able to split it.
Do not allow registering the memory range backed by the HugeTLB until
the hypervisor support is added to handle the case.
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
