qemu-e2k/hw/xen
Konrad Rzeszutek Wilk bce3394817 xen/pt: Make xen_pt_unregister_device idempotent
To deal with xen_host_pci_[set|get]_ functions returning error values
and clearing ourselves in the init function we should make the
.exit (xen_pt_unregister_device) function be idempotent in case
the generic code starts calling .exit (or for fun does it before
calling .init!).

Reviewed-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>
2015-09-10 16:47:20 +00:00
..
Makefile.objs xen, gfx passthrough: basic graphics passthrough support 2015-09-10 12:04:28 +00:00
xen_backend.c
xen_devconfig.c
xen_pt_config_init.c xen/pt: Log xen_host_pci_get in two init functions 2015-09-10 16:47:15 +00:00
xen_pt_graphics.c xen, gfx passthrough: add opregion mapping 2015-09-10 12:04:29 +00:00
xen_pt_msi.c xen/pt: Log xen_host_pci_get/set errors in MSI code. 2015-09-10 16:47:18 +00:00
xen_pt.c xen/pt: Make xen_pt_unregister_device idempotent 2015-09-10 16:47:20 +00:00
xen_pt.h xen/pt: Make xen_pt_unregister_device idempotent 2015-09-10 16:47:20 +00:00
xen-host-pci-device.c xen/pt: Make xen_pt_unregister_device idempotent 2015-09-10 16:47:20 +00:00
xen-host-pci-device.h xen/pt: Make xen_pt_unregister_device idempotent 2015-09-10 16:47:20 +00:00