diff options
author | Cao jin <caoj.fnst@cn.fujitsu.com> | 2016-01-17 20:13:13 +0800 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2016-01-21 16:45:41 +0000 |
commit | 5226bb59f703963914e446557a2eea4a82eaf462 (patch) | |
tree | db3e5e299b50e9a2cdcdbbee6b48e8bbd0318be2 /hw/xen/xen_pt.h | |
parent | 376ba75f88681b468caf4f6bcf27cf8a4b17a6d0 (diff) |
Add Error **errp for xen_pt_setup_vga()
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>
Diffstat (limited to 'hw/xen/xen_pt.h')
-rw-r--r-- | hw/xen/xen_pt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/xen/xen_pt.h b/hw/xen/xen_pt.h index 37497119f5..26f74f8eae 100644 --- a/hw/xen/xen_pt.h +++ b/hw/xen/xen_pt.h @@ -330,5 +330,6 @@ static inline bool is_igd_vga_passthrough(XenHostPCIDevice *dev) } int xen_pt_register_vga_regions(XenHostPCIDevice *dev); int xen_pt_unregister_vga_regions(XenHostPCIDevice *dev); -int xen_pt_setup_vga(XenPCIPassthroughState *s, XenHostPCIDevice *dev); +void xen_pt_setup_vga(XenPCIPassthroughState *s, XenHostPCIDevice *dev, + Error **errp); #endif /* !XEN_PT_H */ |