diff options
author | Andrew Scull <ascull@google.com> | 2022-05-16 10:41:31 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-08 09:24:03 -0400 |
commit | 10a14536366350fdd2d14af1981d9e3d8cb3c524 (patch) | |
tree | 1ea7fac183ce3f796db30a3bca8267a5500c2e57 /arch/sandbox/lib/sections.c | |
parent | b0952977c98affb9054aa5ba6a79291a293c8824 (diff) |
virtio_ring: Maintain a shadow copy of descriptors
The shared descriptors should only be written by the guest driver,
however, the device is still able to overwrite and corrupt them.
Maintain a private shadow copy of the descriptors for the driver to
use for state tracking, removing the need to read from the shared
descriptors.
Signed-off-by: Andrew Scull <ascull@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/lib/sections.c')
0 files changed, 0 insertions, 0 deletions