diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-06-18 18:30:15 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-07-06 17:59:44 +0200 |
commit | 8db4936bb648e15173d687bc162be14fd0d4260c (patch) | |
tree | 6426acb5d957c64eec577fbb37be5e0fc27e4449 /tpm.c | |
parent | 38bfe69180f99d05611a14bab4bb72c95e755b58 (diff) | |
download | qemu-8db4936bb648e15173d687bc162be14fd0d4260c.zip qemu-8db4936bb648e15173d687bc162be14fd0d4260c.tar.gz qemu-8db4936bb648e15173d687bc162be14fd0d4260c.tar.bz2 |
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 'tpm.c')
0 files changed, 0 insertions, 0 deletions