Re: [PATCH] virtio-mmio: Clear v2 transport state on soft reset

2019-12-13 Thread Sergio Lopez
Jean-Philippe Brucker writes: > At the moment when the guest writes a status of 0, we only reset the > virtio core state but not the virtio-mmio state. The virtio-mmio > specification says (v1.1 cs01, 4.2.2.1 Device Requirements: > MMIO Device Register Layout): > > Upon reset, the device MUS

[PATCH] virtio-mmio: Clear v2 transport state on soft reset

2019-12-13 Thread Jean-Philippe Brucker
At the moment when the guest writes a status of 0, we only reset the virtio core state but not the virtio-mmio state. The virtio-mmio specification says (v1.1 cs01, 4.2.2.1 Device Requirements: MMIO Device Register Layout): Upon reset, the device MUST clear all bits in InterruptStatus and