pci-assign: accept Error from monitor_handle_fd_param2()
commitcf10a5b18f4eb25004cffde15c770dadaa3c4bde
authorLaszlo Ersek <lersek@redhat.com>
Thu, 10 Apr 2014 08:24:32 +0000 (10 10:24 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 8 May 2014 18:19:59 +0000 (8 14:19 -0400)
tree0fb02608c824e97bae7df77815c99d6b0234395d
parent5906366ef0474691e9cfd9aa54a525d43bd2df43
pci-assign: accept Error from monitor_handle_fd_param2()

Propagate any errors in monitor fd handling up to get_real_device(), and
report them there. We'll continue the propagation upwards when
get_real_device() becomes a leaf itself (when none of its callees will
report errors internally any longer when detecting and returning an
error).

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