Re: [PATCH] KVM: PPC: Do not create debugfs if fail to create vcpu

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

 



On 09.03.2010, at 07:13, Wei Yongjun wrote:

> If fail to create the vcpu, we should not create the debugfs
> for it.
> 
> Signed-off-by: Wei Yongjun <yjwei@xxxxxxxxxxxxxx>

Good catch.

I guess a goto out kind of construct would be better, but for a single line of code this is enough. And whoever adds more lines can put the goto into place.

Acked-by: Alexander Graf <agraf@xxxxxxx>


Alex--
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