qemu/hw/i386/kvm
Gonglei ee11f7a822 pci-assign: Fix a bug when map MSI-X table memory failed
When mmapping memory for the MSI-X table failsthe dev->msix_table is
not set to NULL and assigned_dev_unregister_msix_mmio() will cause
a segfault when trying to munmap it.

Signed-off-by: Gonglei Arei <arei.gonglei@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
2014-05-13 13:12:04 +02:00
..
Makefile.objs hw: move hw/kvm/ to hw/i386/kvm 2013-04-08 18:13:16 +02:00
apic.c apic: QOM'ify APIC 2013-12-24 18:02:18 +01:00
clock.c sysbus: Set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
i8254.c qdev: Add enum property types to QAPI schema 2014-02-14 21:12:05 +01:00
i8259.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
ioapic.c ioapic: QOM'ify ioapic 2013-12-24 18:02:18 +01:00
pci-assign.c pci-assign: Fix a bug when map MSI-X table memory failed 2014-05-13 13:12:04 +02:00