OSDN Git Service

virtio-pci-modern: introduce vp_modern_remove()
authorJason Wang <jasowang@redhat.com>
Mon, 4 Jan 2021 06:54:48 +0000 (14:54 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Feb 2021 12:52:57 +0000 (07:52 -0500)
commit32490370883822e9e8dd7e4410bbe22bb3b77b58
tree5e15541982a3a52f4de8ad9dae1b154801d8da17
parent117a9de2826ccb0d338afb03f07223b3cb789371
virtio-pci-modern: introduce vp_modern_remove()

This patch introduces vp_modern_remove() doing device resources
cleanup to make it can be used.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210104065503.199631-5-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci_modern.c