KVM: x86/svm: add __GFP_ACCOUNT to __sev_dbg_{en,de}crypt_user()
authorMingwei Zhang <mizhang@google.com>
Thu, 23 Jun 2022 17:18:58 +0000 (17:18 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jun 2022 07:58:06 +0000 (03:58 -0400)
commitebdec859faa8cfbfef9f6c1f83d79dd6c8f4ab8c
treeb11423c268706f17d6cb66748bbf8620a49979c5
parent6945b2141fc9429f30fd6df2bcdd657a7f309f2f
KVM: x86/svm: add __GFP_ACCOUNT to __sev_dbg_{en,de}crypt_user()

Adding the accounting flag when allocating pages within the SEV function,
since these memory pages should belong to individual VM.

No functional change intended.

Signed-off-by: Mingwei Zhang <mizhang@google.com>
Message-Id: <20220623171858.2083637-1-mizhang@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/sev.c