OSDN Git Service

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)
commite3669129fdcd2494e6991bd4111e090551087e16
treec0636bb29f9f4e7678477cce4a32b8e355f2ff12
parent1a5c85f16594416df258fe38ec05e0dd05846479
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