Re: [PATCH] virt/kvm avoids oops by adding parameter checking

2017-09-02 Thread kbuild test robot
Hi nixiaoming, [auto build test ERROR on v4.13-rc6] [also build test ERROR on next-20170901] [cannot apply to kvm/linux-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/nixiaoming/virt-kvm-a

Re: [PATCH] virt/kvm avoids oops by adding parameter checking

2017-09-02 Thread kbuild test robot
Hi nixiaoming, [auto build test ERROR on v4.13-rc6] [also build test ERROR on next-20170901] [cannot apply to kvm/linux-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/nixiaoming/virt-kvm-a

Re: [PATCH] virt/kvm avoids oops by adding parameter checking

2017-08-22 Thread Paolo Bonzini
On 22/08/2017 03:09, nixiaoming wrote: > The error parameter passed through the external interface causes the system > oops. > So it is necessary to increase the parameter check for all EXPORT_SYMBOL_GPL > > example: > void kvm_get_kvm(struct kvm *kvm) > { > refcount_inc(&kvm->users_cou