xen/pass-through: log errno values rather than function return ones
commit3782f60d2047cb86567889307ce78baacf518635
authorJan Beulich <JBeulich@suse.com>
Fri, 5 Jun 2015 12:04:18 +0000 (5 13:04 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 23 Jun 2015 16:18:31 +0000 (23 16:18 +0000)
treed37e174a7e41195473133d10007c74401c366805
parent69976894c1d91c4b0c985fa05936cb6b8d01382b
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.

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