commit | e6599225db36bbdc991d1cc8fbfcacb24f86cdb5 | [log] [tgz] |
---|---|---|
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Thu Sep 29 13:26:45 2011 -0400 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Wed Oct 19 17:03:28 2011 -0400 |
tree | af43d45cf1fef289e01af0d317ba82569bd5c91c | |
parent | 9bb9efe4bab8a877cdde5c6bfbfa202645517571 [diff] |
xen/irq: If we fail during msi_capability_init return proper error code. There are three different modes: PV, HVM, and initial domain 0. In all the cases we would return -1 for failure instead of a proper error code. Fix this by propagating the error code from the generic IRQ code. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>