commit | 8db4936bb648e15173d687bc162be14fd0d4260c | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 18 18:30:15 2015 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jul 06 17:59:44 2015 +0200 |
tree | 6426acb5d957c64eec577fbb37be5e0fc27e4449 | |
parent | 38bfe69180f99d05611a14bab4bb72c95e755b58 [diff] |
kvm-all: kvm_irqchip_create is not expected to fail KVM_CREATE_IRQCHIP should never fail, and so should its userspace wrapper kvm_irqchip_create. The function does not do anything if the irqchip capability is not available, as is the case for PPC. With this patch, kvm_arch_init can allocate memory and it will not be leaked. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>