diff options
author | Konrad Rzeszutek Wilk | 2015-07-02 20:33:44 +0200 |
---|---|---|
committer | Stefano Stabellini | 2015-09-10 18:47:26 +0200 |
commit | 3d3697f2576424a2c0830a7b2e7c94c79dea9b50 (patch) | |
tree | ff01983d97de3e3d574af3acfb49009a355ed418 /include/hw/xen/xen.h | |
parent | xen/pt: Move bulk of xen_pt_unregister_device in its own routine. (diff) | |
download | qemu-3d3697f2576424a2c0830a7b2e7c94c79dea9b50.tar.gz qemu-3d3697f2576424a2c0830a7b2e7c94c79dea9b50.tar.xz qemu-3d3697f2576424a2c0830a7b2e7c94c79dea9b50.zip |
xen/pt: Check for return values for xen_host_pci_[get|set] in init
and if we have failures we call xen_pt_destroy introduced in
'xen/pt: Move bulk of xen_pt_unregister_device in its own routine.'
and free all of the allocated structures.
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'include/hw/xen/xen.h')
0 files changed, 0 insertions, 0 deletions