Re: [PATCH 2/2] KVM: Create debugfs dir and stat files for each VM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/02/2016 06:15 PM, Paolo Bonzini wrote:
> 
> 
> On 30/11/2015 09:38, Christian Borntraeger wrote:
>>
>> diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
>> index f7d6c8f..b26472a 100644
>> --- a/virt/kvm/kvm_main.c
>> +++ b/virt/kvm/kvm_main.c
>> @@ -671,12 +671,16 @@ static struct kvm *kvm_create_vm(unsigned long type)
>>  
>>  	r = kvm_create_vm_debugfs(kvm);
>>  	if (r)
>> -		goto out_err;
>> +		goto out_mmu;
>>  
>>  	preempt_notifier_inc();
>>  
>>  	return kvm;
>>  
>> +out_mmu:
>> +#if defined(CONFIG_MMU_NOTIFIER) && defined(KVM_ARCH_WANT_MMU_NOTIFIER)
>> +	mmu_notifier_unregister(&kvm->mmu_notifier, kvm->mm);
>> +#endif
>>  out_err:
>>  	cleanup_srcu_struct(&kvm->irq_srcu);
>>  out_err_no_irq_srcu:
> 
> Looking at old unread email in my inbox... can you resubmit this to
> kvm@xxxxxxxxxxxxxxx as a proper patch (Signed-off-by, commit message, etc.)?
>

This patch was only necessary to fixup an earlier version of Janosch's patch.
upstream is fine.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux