Add Error **errp for xen_pt_config_init()
commitd50a6e58e83cdf534fd3f6c152c71b65973ab502
authorCao jin <caoj.fnst@cn.fujitsu.com>
Sun, 17 Jan 2016 12:13:14 +0000 (17 20:13 +0800)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 21 Jan 2016 16:45:47 +0000 (21 16:45 +0000)
tree7e0d20ca2f96ee3db8c0ff6901735585a7e5c74c
parent5226bb59f703963914e446557a2eea4a82eaf462
Add Error **errp for xen_pt_config_init()

To catch the error message. Also modify the caller

Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/xen/xen_pt.c
hw/xen/xen_pt.h
hw/xen/xen_pt_config_init.c