diff options
| author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2015-09-08 16:21:29 -0400 |
|---|---|---|
| committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2015-09-10 16:47:20 +0000 |
| commit | bce33948178e338eac2629284b199c0c1f05f8a3 (patch) | |
| tree | 4252ac368e2768965b07a26a834ec227aa51e04a /hw/net/virtio-net.c | |
| parent | fe2da64c5ab882124aaf14c27d62409d02ff1786 (diff) | |
| download | focaccia-qemu-bce33948178e338eac2629284b199c0c1f05f8a3.tar.gz focaccia-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 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions