commit | c0e63bf46848d573b3ef86d5796f8f993c316ed6 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Wed Jun 08 11:15:28 2022 -0400 |
committer | Tom Rini <trini@konsulko.com> | Wed Jun 08 11:15:28 2022 -0400 |
tree | 7967ae792497f0618b8ec3e2c22a0721cbcdae29 | |
parent | ed1cbbe2afe4d4c7c25316db4c2e15c4c579fc4e [diff] | |
parent | d036104a02995efe416dd5ada503408ae37b56a5 [diff] |
Merge branch '2022-06-08-virtio-harden-and-test-vring' into next To quote the author: Make the virtio ring code resilient against corruption of the buffers shared with the device. It follows the example of Linux by keeping a private copy of the descriptors and metadata for state tracking and only ever writing to the descriptors that are shared with the device. I was able to test these hardening steps in the sandbox by simulating device writes to the queues.