Revision 0cea71a2
ID | 0cea71a207508c2b8f563b2644ac46009832c8f4 |
virtio: don't mark unaccessed memory as dirty
offset of accessed buffer is calculated using iov_length, so it
can exceed accessed len. If that happens
math in len - offset wraps around, and size becomes wrong.
As real value is 0, so this is harmless but unnecessary.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Files
- added
- modified
- copied
- renamed
- deleted