diff options
| author | Konrad Rzeszutek Wilk | 2015-09-08 22:21:29 +0200 |
|---|---|---|
| committer | Stefano Stabellini | 2015-09-10 18:47:20 +0200 |
| commit | bce33948178e338eac2629284b199c0c1f05f8a3 (patch) | |
| tree | 4252ac368e2768965b07a26a834ec227aa51e04a /include/exec/user | |
| parent | xen/pt: Log xen_host_pci_get/set errors in MSI code. (diff) | |
| download | qemu-bce33948178e338eac2629284b199c0c1f05f8a3.tar.gz qemu-bce33948178e338eac2629284b199c0c1f05f8a3.tar.xz qemu-bce33948178e338eac2629284b199c0c1f05f8a3.zip | |
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>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
