mirror of https://gitee.com/openkylin/linux.git
1280c27f8e
When memory map changes, we need to flush outstanding DMAs as they might in theory reference old memory addresses. To do this simply stop initiating new DMAs and wait for ubufs ref count to drop to 0. Afterwards reset the count back to 1. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Kconfig.tcm | ||
Makefile | ||
net.c | ||
tcm_vhost.c | ||
tcm_vhost.h | ||
test.c | ||
test.h | ||
vhost.c | ||
vhost.h |