On Thu, Oct 24, 2019 at 04:03:25PM -0700, Jim Mattson wrote: > Defer setting the reference count, kvm->users_count, until the VM is > guaranteed to be created, so that the reference count need not be > cleared on the error path. > > Suggested-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> > Signed-off-by: Jim Mattson <jmattson@xxxxxxxxxx> > Reviewed-by: Junaid Shahid <junaids@xxxxxxxxxx> > --- Reviewed-and-tested-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>