pc-bios/s390-ccw/virtio: Add a function to reset a virtio device
authorThomas Huth <thuth@redhat.com>
Thu, 16 Jan 2025 11:58:24 +0000 (12:58 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 22 Jan 2025 07:28:49 +0000 (08:28 +0100)
commit3936d0556383829b8db9518aed8badfed6513953
tree7ee8c2317b5750f25f4aa1c7c8d8300c93e2af1c
parent807830e809bc684dc3344e78dd32f0cb6e5c6c37
pc-bios/s390-ccw/virtio: Add a function to reset a virtio device

To be able to properly silence a virtio device after using it,
we need a global function to reset the device.

Reviewed-by: Jared Rossi <jrossi@linux.ibm.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Tested-by: Jared Rossi <jrossi@linux.ibm.com>
Message-ID: <20250116115826.192047-2-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/virtio.c
pc-bios/s390-ccw/virtio.h