summary refs log tree commit diff stats
path: root/hw/core/loader.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-06-18 18:30:15 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-07-06 17:59:44 +0200
commit8db4936bb648e15173d687bc162be14fd0d4260c (patch)
tree6426acb5d957c64eec577fbb37be5e0fc27e4449 /hw/core/loader.c
parent38bfe69180f99d05611a14bab4bb72c95e755b58 (diff)
downloadfocaccia-qemu-8db4936bb648e15173d687bc162be14fd0d4260c.tar.gz
focaccia-qemu-8db4936bb648e15173d687bc162be14fd0d4260c.zip
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>
Diffstat (limited to 'hw/core/loader.c')
0 files changed, 0 insertions, 0 deletions