pci-assign: propagate errors from assign_device()
commit6877cff044cdf6da66885eab62363baf98bb39ee
authorLaszlo Ersek <lersek@redhat.com>
Thu, 10 Apr 2014 08:24:43 +0000 (10 10:24 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 8 May 2014 18:20:00 +0000 (8 14:20 -0400)
tree9a6f0b82d43cdbc81dcf97296fb0dc74509fa9d2
parent7d9cb533f5a475c3d87b8c7c3fd65b2b6530cdac
pci-assign: propagate errors from assign_device()

Also, change the return type to "void"; the function is static (with a
sole caller) and the negative errno values are not distinguished from each
other.

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