mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
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>
This commit is contained in:
parent
376ba75f88
commit
5226bb59f7
3 changed files with 13 additions and 8 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue