virtio-pci: Add Function Level Reset support
authorJulia Suvorova <jusual@redhat.com>
Tue, 20 Aug 2019 16:30:05 +0000 (18:30 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 4 Sep 2019 10:33:10 +0000 (06:33 -0400)
commiteb1556c493d8abc5bfc8685561bcea934700e200
tree7f1dcd24b600b5916f9a5b1d46dc7ce47e2af6b7
parent0198c2621a1e57d4ceaca1326897f007963c12df
virtio-pci: Add Function Level Reset support

Using FLR becomes convenient in cases where resetting the bus is
impractical, for example, when debugging the behavior of individual
functions.

Signed-off-by: Julia Suvorova <jusual@redhat.com>
Message-Id: <20190820163005.1880-1-jusual@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/core/machine.c
hw/virtio/virtio-pci.c
hw/virtio/virtio-pci.h