diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index f10fef561573c4081f68a7a4d641208954572ee0..a0d1fc80ac5a8407c123d8df12eb2215d4d70392 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -3095,7 +3095,7 @@ int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext) break; case KVM_CAP_NESTED_STATE: r = kvm_x86_ops->get_nested_state ? - kvm_x86_ops->get_nested_state(NULL, 0, 0) : 0; + kvm_x86_ops->get_nested_state(NULL, NULL, 0) : 0; break; default: break;