]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-pci: split out modern device
authorJason Wang <jasowang@redhat.com>
Mon, 4 Jan 2021 06:54:46 +0000 (14:54 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Feb 2021 12:52:57 +0000 (07:52 -0500)
commitb5d58094508724970ed9b68cdeca01e8f5333e0e
tree985972045637afc26959be0cb2dda60217a52905
parent64f2087aaa2c2a504f637736f48e71da0cd4afe0
virtio-pci: split out modern device

This patch splits out the virtio-pci modern device only attributes
into another structure. While at it, a dedicated probe method for
modern only attributes is introduced. This may help for split the
logic into a dedicated module.

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