commit | b0ee162b06f9c73d20019a07758737a35211fa05 | [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 | f85fa5d29b1fb7db2657df3df1d8aac2b8298659 [diff] | |
parent | 89e57e1ff63c448ab4b50eff631b161d23d3f86d [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.