]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-pci-modern: introduce helpers for setting and getting status
authorJason Wang <jasowang@redhat.com>
Mon, 4 Jan 2021 06:54:50 +0000 (14:54 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Feb 2021 12:52:57 +0000 (07:52 -0500)
commit494da4205abc538e6d436632262af0e76d41d1ba
treec0636bb29f9f4e7678477cce4a32b8e355f2ff12
parentabc2a3c44a41ac72843386cce8026bf8b8b85243
virtio-pci-modern: introduce helpers for setting and getting status

This patch introduces helpers to allow set and get device status.

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