Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KVM: nVMX: Fix size checks in vmx_set_nested_state
The size checks in vmx_nested_state are wrong because the calculations are made based on the size of a pointer to a struct kvm_nested_state rather than the size of a struct kvm_nested_state. Reported-by: Felix Wilhelm <[email protected]> Signed-off-by: Jim Mattson <[email protected]> Reviewed-by: Drew Schmitt <[email protected]> Reviewed-by: Marc Orr <[email protected]> Reviewed-by: Peter Shier <[email protected]> Reviewed-by: Krish Sadhukhan <[email protected]> Fixes: 8fcc4b5 Cc: [email protected] Signed-off-by: Paolo Bonzini <[email protected]>
- Loading branch information