Re: [PATCH linux-next] KVM: x86: don't forget vcpu_put() in kvm_arch_vcpu_ioctl_set_sregs()

From: Paolo Bonzini
Date: Thu Dec 21 2017 - 04:08:01 EST


On 21/12/2017 03:45, Lan Tianyu wrote:
> Hi Paolo:
> Should we check input sregs before loading vcpu? If input sregs is
> invalid, the operation is redundant.

That would be another way to fix the conflict. Note that the conflict
is between two different trees (kvm/master and kvm/next), so in any case
it will remain until the next merge window.

Paolo