]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nSVM: remove trailing padding for struct vmcb_control_area
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 May 2020 19:24:46 +0000 (15:24 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 1 Jun 2020 08:25:59 +0000 (04:25 -0400)
commitc1b3c506154499ddf2ae4ecc337ec0ce9864cee6
tree6f1a3f6585ffc16f238861fe2474fc9d840ec22d
parent6282619ad59ca2fe1318061ef12a00072f116451
KVM: nSVM: remove trailing padding for struct vmcb_control_area

Allow placing the VMCB structs on the stack or in other structs without
wasting too much space.  Add BUILD_BUG_ON as a quick safeguard against typos.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/svm.h