Hey, I've just posted on xen-devel patches that make these two set of xc_* function conform to the style of returning -1 for error and stashing the Exx in errno. See: http://lists.xen.org/archives/html/xen-devel/2015-03/msg01766.html
and http://lists.xen.org/archives/html/xen-devel/2015-03/msg01769.html (xc_domain_add_to_physmap fails uses do_memory_op). hw/xen/xen_pt.c | 4 ++-- hw/xen/xen_pt_msi.c | 4 ++-- xen-hvm.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)