You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If device emulation has allocated device memory and does not unmap it after lm_ctx_destroy has been called, then the muser device cannot be removed until that memory is unmapped. This behavior is desirable in order to support restartable device emulation. However, there are cases where we'd like device emulation to go away and having lm_ctx_destroy automatically unmap such memory would make coding easier. My proposal is to add a flag in lm_ctx_destroy to unmap such memory (should be false by default).
The text was updated successfully, but these errors were encountered:
tmakatos
changed the title
add option to automatically unmap device memory in lm_ctx_destroy
add option to automatically unmap device memory in lm_ctx_destroy
Feb 4, 2020
If device emulation has allocated device memory and does not unmap it after
lm_ctx_destroy
has been called, then themuser
device cannot be removed until that memory is unmapped. This behavior is desirable in order to support restartable device emulation. However, there are cases where we'd like device emulation to go away and havinglm_ctx_destroy
automatically unmap such memory would make coding easier. My proposal is to add a flag inlm_ctx_destroy
to unmap such memory (should befalse
by default).The text was updated successfully, but these errors were encountered: