diff options
author | Sean Christopherson <[email protected]> | 2021-11-09 22:23:50 +0000 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-12-05 03:02:03 -0500 |
commit | a655276a594978a4887520c1241cf6ac49d6230b (patch) | |
tree | 26115fbe820b3a597f45b087bf05b94d73fb7549 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 75236f5f2299b502e4b9b267c1ce3bc14a222ceb (diff) |
KVM: SEV: Fall back to vmalloc for SEV-ES scratch area if necessary
Use kvzalloc() to allocate KVM's buffer for SEV-ES's GHCB scratch area so
that KVM falls back to __vmalloc() if physically contiguous memory isn't
available. The buffer is purely a KVM software construct, i.e. there's
no need for it to be physically contiguous.
Cc: Tom Lendacky <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions