On 10/6/2025 8:06 AM, Stanislav Kinsburskii wrote: > Centralize guest memory region destruction to prevent resource leaks and > inconsistent cleanup across unmap and partition destruction paths. > > Unify region removal, encrypted partition access recovery, and region > invalidation to improve maintainability and reliability. Reduce code > duplication and make future updates less error-prone by encapsulating > cleanup logic in a single helper. > > Signed-off-by: Stanislav Kinsburskii <[email protected]> > --- > drivers/hv/mshv_root_main.c | 65 > ++++++++++++++++++++++--------------------- > 1 file changed, 34 insertions(+), 31 deletions(-) >
Reviewed-by: Nuno Das Neves <[email protected]>
