commit | 6ccbd29ade0d159ee1be398dc9defaae567c253d | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Mon Sep 07 15:15:02 2020 +0200 |
committer | Borislav Petkov <bp@suse.de> | Mon Sep 07 19:45:24 2020 +0200 |
tree | e540f0bb187d40f5e19e47d153c8d82ecc54c5aa | |
parent | c48f46ac7bf3946032cbaf70238c277382eedd1b [diff] |
KVM: SVM: nested: Don't allocate VMCB structures on stack Do not allocate a vmcb_control_area and a vmcb_save_area on the stack, as these structures will become larger with future extenstions of SVM and thus the svm_set_nested_state() function will become a too large stack frame. Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20200907131613.12703-2-joro@8bytes.org