[PULL v3 20/32] virtio-mmio: Clear v2 transport state on soft reset

2020-01-07 Thread Michael S. Tsirkin
From: 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 bi

[PULL v3 20/32] virtio-mmio: Clear v2 transport state on soft reset

2020-01-05 Thread Michael S. Tsirkin
From: 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 bi