Subject: Re: [virtio-comment] [RFC PATCH] virtio-pci: introduce device state capability
On 2020/12/18 äå11:16, Jason Wang wrote:
A per-virtqueue stopped state is not enough to stop a device because some devices have global behavior like config change events. It must be possible to completely stop the device to prevent further activity (VIRTIO config space changes, interrupts, etc). Maybe a Device Status register bit can be added for that?I've considered such case, one of the idea is to introduce a new device status to achieve which seems more generic. Then we need to define a state machine carefully.
So I post another RFC to introduce a new device status bit. Please review. Thanks