summaryrefslogtreecommitdiff
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorMelody Wang <huibo.wang@amd.com>2025-02-25 21:39:37 +0000
committerSean Christopherson <seanjc@google.com>2025-02-25 16:30:00 -0800
commitc3392d0ab714d812009b686666cc5e9ef8c6a432 (patch)
treea3c42954cc382cba93d424b627e880200a0822de /rust/helpers/vmalloc.c
parentea4c2f2f5ed3e218c8c0d8facfa14d6da73b5cd8 (diff)
KVM: SVM: Provide helpers to set the error code
Provide helpers to set the error code when converting VMGEXIT SW_EXITINFO1 and SW_EXITINFO2 codes from plain numbers to proper defines. Add comments for better code readability. No functionality changed. Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Melody Wang <huibo.wang@amd.com> Link: https://lore.kernel.org/r/20250225213937.2471419-3-huibo.wang@amd.com [sean: tweak comments, fix formatting goofs] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions