pci-assign: propagate errors from assigned_dev_register_msix_mmio()
commit7a98593b34d3e19d77c43a69dd47f2387250d67d
authorLaszlo Ersek <lersek@redhat.com>
Thu, 10 Apr 2014 08:24:41 +0000 (10 10:24 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 8 May 2014 18:20:00 +0000 (8 14:20 -0400)
tree9445fa4f048bd4df20504ae8ed90ae5391bc3cd6
parent64135217a75ac6c4e672ed67cb8fee7a4c16ada4
pci-assign: propagate errors from assigned_dev_register_msix_mmio()

The return type is also changed from "int" to "void", because it was used
in a success vs. failure sense only (the caller didn't distinguish error
codes from each other, and even assigned_dev_register_msix_mmio() masked
mmap()'s errno values with a common -EFAULT).

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
hw/i386/kvm/pci-assign.c