pci-assign: propagate errors from assign_intx()
commitef47827ac4da5217243e1fec7ec75c1924eb4f40
authorLaszlo Ersek <lersek@redhat.com>
Thu, 10 Apr 2014 08:24:44 +0000 (10 10:24 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 8 May 2014 18:20:00 +0000 (8 14:20 -0400)
tree69d4a5b00c81d43044d5b6ee19076a356630d77b
parent6877cff044cdf6da66885eab62363baf98bb39ee
pci-assign: propagate errors from assign_intx()

Among the callers, only assigned_initfn() should set the  monitor's stored
error. Other callers may run in contexts where the monitor's stored error
makes no sense. For example:

assigned_dev_pci_write_config()
  assigned_dev_update_msix()
    assign_intx()

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