> On 11 Jul 2023, at 09:29, Michal Orzel <[email protected]> wrote: > > Fix the error path in domain_handle_dtb_bootmodule(), so that the memory > previously mapped is unmapped before returning the error code. This is > because the function shall not make assumptions on the way of handling > its error code in the callers. Today we call panic in case of domU > creation failure, so having memory not unmapped is not a bug, but it can > change. > > Similarly, fix prepare_dtb_domU() so that the memory allocated is freed > before returning the error code from domain_handle_dtb_bootmodule(). > > Signed-off-by: Michal Orzel <[email protected]> Reviewed-by: Luca Fancellu <[email protected]>
- [PATCH 0/2] xen/arm: Support for bigger domU passthrough dtb... Michal Orzel
- [PATCH 1/2] xen/arm: Fix domain_handle_dtb_bootmodule()... Michal Orzel
- Re: [PATCH 1/2] xen/arm: Fix domain_handle_dtb_boot... Luca Fancellu
- Re: [PATCH 1/2] xen/arm: Fix domain_handle_dtb_... Julien Grall
- [PATCH 2/2] xen/arm: Account for domU dtb bootmodule si... Michal Orzel
- Re: [PATCH 2/2] xen/arm: Account for domU dtb bootm... Luca Fancellu
- Re: [PATCH 2/2] xen/arm: Account for domU dtb bootm... Julien Grall
- Re: [PATCH 2/2] xen/arm: Account for domU dtb b... Michal Orzel
- Re: [PATCH 2/2] xen/arm: Account for domU d... Julien Grall
- Re: [PATCH 2/2] xen/arm: Account for d... Michal Orzel
- Re: [PATCH 2/2] xen/arm: Account f... Julien Grall
