]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commit
xen/pass-through: log errno values rather than function return ones
authorJan Beulich <JBeulich@suse.com>
Fri, 5 Jun 2015 12:04:18 +0000 (13:04 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 24 Jun 2015 13:32:22 +0000 (13:32 +0000)
commit76403ddf6f06602787e395070eadaa38063b870f
tree758ea25dc3125290090a348f084482edc6fe04e3
parent3d57892188f8c003b754688740015d3e02872e21
xen/pass-through: log errno values rather than function return ones

Functions setting errno commonly return just -1, which is of no
particular use in the log file.

upstream-commit-id: 3782f60d2047cb86567889307ce78baacf518635

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/xen/xen_pt.c
hw/xen/xen_pt_msi.c