# Re: \[PATCH\] virtio\_mmio: generation support

- From: Pawel Moll \<hidden\>
- Date: 2015-03-23 11:50:26 
- List: virtualization
- Page: https://ratatoskr.run/virtualization/2015/03/4456898
- Thread: https://ratatoskr.run/lkml/2015/03/4444355/t.md

```text
On Thu, 2015-03-12 at 02:07 +0000, Rusty Russell wrote:
> "Michael S. Tsirkin" [ref] writes:
> > virtio_mmio currently lacks generation support which
> > makes multi-byte field access racy.
> > Fix by getting the value at offset 0xfc for version 2
> > devices. Nothing we can do for version 1, so return
> > generation id 0.
> >
> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> > ---
> >
> > Pawel, you mentioned you have a working virtio 1.0
> > hypervisor, can you pls confirm this works correctly?

Again, belated

Acked-by: Pawel Moll <redacted>

although not yet tested-by...

Paweł

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
```
