diff options
| author | Paolo Bonzini | 2015-06-18 18:30:15 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2015-07-06 17:59:44 +0200 |
| commit | 8db4936bb648e15173d687bc162be14fd0d4260c (patch) | |
| tree | 6426acb5d957c64eec577fbb37be5e0fc27e4449 /scripts/checkpatch.pl | |
| parent | kvm-all: add support for multiple address spaces (diff) | |
| download | qemu-8db4936bb648e15173d687bc162be14fd0d4260c.tar.gz qemu-8db4936bb648e15173d687bc162be14fd0d4260c.tar.xz 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 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
